I\'m trying to pass a JavaScript object to a PHP script through jquery.ajax()
, basically:
var bigArray = new Object();
//Dode
//Start loop
bigArray[
Turn processData
to true. I don't believe your JSON is being passed through correctly. Also note that it won't come through as a json, but rather the key value pairs of your JSON will be the contents of $_POST
when you get to it.
Also, are the values of your bigArray easily convertable to string? If you're passing in DOM elements or something, you're going to have issues.