My JavaScript code is this:
var i=0;
var ret=[];
ret[i][0]=newID;
ret[i][1]=jobTitle;
ret[i][2]=jobText;
ret[i][3]=jobEmail;
ret[i][4]=jobOrder;
These are all strings and all have value. I'm getting the error:
"Uncaught TypeError: Cannot set property '0' of undefined" on the first assignment: ret[i][0]=newID;
Also error at jsfiddle http://jsfiddle.net/Zf9rE/2/
what am I doing wrong?