Re: Best place to "hide" javascript?

2005-11-24 Thread sebb
You could try putting the following in a User Parameters Pre-Processor (uncheck Update Once Per Iteration if necessary): run_time ${__javaScript((new Date()).getTime()} Note that the variable is omitted from the JavaScript call as it is not needed. This works in 2.1.1 run_date coul

Best place to "hide" javascript?

2005-11-24 Thread Christensen, Alan
I use the following javascript to compute some time related variables: ${__javaScript((new Date()).getTime(),run_time)} , ${__javaScript(new Date(),run_date)} I then use ${run_time} and ${run_date} later in my script to establish unique emails and other unique information that I need. Th