RE: Witango-Talk: JavaScript as a Variable

2003-04-03 Thread Ben Johansen
Yah. But J It was never stated that the Meta tags were to be translated at that time of storing them in the variable. So, if you are storing code in a variable to be used by another process, you would not want them to be resolved before there time. Ben Johansen -

Re: Witango-Talk: JavaScript as a Variable

2003-04-02 Thread Scott Cadillac
Hi Steve, When putting a Witango Variable inside a string used in a JavaScript variable, you use ENCODING=JAVASCRIPT to escape any characters that JavaScript will complain about. Example: alert('@VAR local$some_var ENCODING=JAVASCRIPT'); But in your case, where the Witango Variable contains

Re: Witango-Talk: JavaScript as a Variable

2003-04-02 Thread witango man
not so fast @literal if youuse @literalyou won't be able to use meta tags within the _javascript_. If you're using this _javascript_ over and over again you could store it in an include file: @INCLUDE FILE=@APPFILEPATHincludes/script.inc and thus only need to change it once if it needs to be