> try quotes around _level0.buttonURL[i]

Okay... That works, but sends it to "/blah/_level0.buttonURL[i]" which isn't
wonderfully helpful, BUT it does show that the function works when the
button is pressed.

However, now what I need to figure out, is how to make the whole thing
dynamic?  Any ideas

This works:

_level0.getURL("redirect.php", "_parent", "GET");

This works too:

avar = "redirect.php"
_level0.getURL(avar, "_parent", "GET");

This works:

// outside function
_level0.anarray = new Array( "url1.php", "url2.php" );

// in function
_level0.getURL(_level0.anarray[0], "_parent", "GET");

However, if I want to get a dynamically allocated var (ie anarray[i])... How
do I do it?

Paul



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to