Josh Soref wrote:
> unfortunately javascript:"[1,2]"[2]=="," (true)
right... and if i was thinking i would have remembered that eval(string) works... so 
you can easily pass out a string and make it an array using eval().


> var regval= some_component.QueryValue() 
> // which would return either an integer, a string or an array of strings.
var regval = eval(some_component.QueryValue())

where queryvalue returns a objects converted to strings.  to return an array of 
strings you could do "['the','quick','brown','fox']". of course you can pick ' or " to 
use to indicate strings and then use the other inside and use \\" or \\' to express 
the other...

Reply via email to