The $.ajax function is causing me trouble, I'm using Mozilla Firefox 3.0.8 in a Kubuntu 8.10 computer, with php PHP/5.2.6-2ubuntu4.2 and web server Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin- Patch and jQuery version 1.3.2.
If I use dataTipe: 'json' and type:'post' with $-ajax, jQuery seems to send something but, php does not recieve a thing. But when I use 'text', it recieves data. Specifically what im sending is (in this case, just to try). <form id="xx"> <input type="text" name="hola[alfa]" id="hola_alfa" value="330" /> <input type="text" name="hola[beta]" id="hola_beta" value="uno" /> <input type="text" name="hola[delta]" id="hola_delta" value="" /> <input type="text" name="hola[gamma]" id="hola_gamma" value="({gol})" /> </form> Then i echo a json_encode($_POST) and die. So, should be returning the same I've sended, but returns nothing with 'json', and a json string with 'text'. Even firebug tellsme that those are the results. Can you recreate or send any comment.