Re: [Flashcoders] Q:passing multiple argements via a getURL javascript call

2006-11-17 Thread Geoff Stearns
if you need to pass strings like that, you just have to include an extra set of quotes... you could either escape another set, like this: getURL("javascript:testfunc(\""+arg+"\")"); or use single quotes: getURL("javascript:testfunc('"+arg+"')"); On Nov 17, 2006, at 4:16 PM, [EMAIL PROTECTED

[Flashcoders] Q:passing multiple argements via a getURL javascript call

2006-11-17 Thread moveup
Hi I'm passing multiple arguments in a getURL javascript call. Because of the way that arguments need to be enclosed in quotes I'm not sure about the best way for handling this Single argument (this works) var arg='myvar' getURL("javascript:testfunc("+arg+")"); solution 2 (doesn't work, th