I have a object in Javascript that I am trying to AJAX POST to a PHP script. Everything worked in jQuery 1.4.1 but now in 1.4.4 or above all empty arrays or empty objects ar
try applying JSON.stringify to the parameters passed
data: JSON.stringify ( obj ),
Note you'll likely want to include the contentType: "application/json" option to prompt server side to process the data correctly.
quoting : Why jQuery ajax does not serialize my object?
traditional: true is completely wrong, since it can never handle object hierarchies. What you get instead is: ...&key=[object Object], which is javascript's toString() default result for all objects.