Mike1985
10-13-2011, 03:47 PM
Hi..
I have some code I wrote a while ago and now I can't remember what it does!
var subArray = [];
subArray[0] = frontEndOptionsId;
subArray[1] = document.getElementById(frontEndOptionsId).value;
BYOT5.push(subArray);
And further down I have...
xh.sendRequest("GET","/byot5.php",BYOT5,callback,false);
Am I right in guessing that the 'push' pushes the elements in subArray in to BYOT5 in my second segment? Would it look like...
xh.sendRequest("GET","/byot5.php",subArray("ZERO","ONE"),callback,false);
...when it's sent to byot5.php? Or am I completely wrong?! :confused:
I have some code I wrote a while ago and now I can't remember what it does!
var subArray = [];
subArray[0] = frontEndOptionsId;
subArray[1] = document.getElementById(frontEndOptionsId).value;
BYOT5.push(subArray);
And further down I have...
xh.sendRequest("GET","/byot5.php",BYOT5,callback,false);
Am I right in guessing that the 'push' pushes the elements in subArray in to BYOT5 in my second segment? Would it look like...
xh.sendRequest("GET","/byot5.php",subArray("ZERO","ONE"),callback,false);
...when it's sent to byot5.php? Or am I completely wrong?! :confused: