Hi,
I need to insert 4 elements from my array “wingColors” into an URL string that i’m sending via the GET method to an .asp script.
Here’s the code I have:
postButton.onRelease = function() {
var _lv = new LoadVars();
_lv.decode("colour4=&colour3=&colour2=&colour1=");
//trace(lv);
_lv.send("Colourform.asp", "_blank", "GET");
};
My questions is… how do I insert elements from my array into the string so that they are passed onto the asp script?
Can I do - _lv.decode("colour4=wingColors[3] ??
That doesn’t seem to work.
I have to have this done by the end of today (about 4 hrs from now)
Please help!!
Dave.