How to add objects to the extra variables?
How to add objects to the extra variables?
Can anyone help me and explain how I add objects (arrays, etc.) to extra variables being sent on the ajax request?
Somehow like the "myarray" variable below:
$.getJSON(url, {"myarray[]": [1,2,3,4,5], function(data) {alert(data);}}
Thanks for your help!
Somehow like the "myarray" variable below:
$.getJSON(url, {"myarray[]": [1,2,3,4,5], function(data) {alert(data);}}
Thanks for your help!
This discussion has been closed.