molily: mal ein Objekt und mal nicht

Beitrag lesen

Hallo,

$.post('index.php&trigger=blubb', function(json) { alert(json.erstes); }, 'JSON');

Versuch mal, 'json' klein zu schreiben. Ich weiß nicht, ob jQuery 'JSON' als gleichwertig erkennt.
http://api.jquery.com/jQuery.ajax/
http://api.jquery.com/jQuery.post/

Andernfalls sollte der MIME-Typ der Server-Rückgabe stimmen: application/json

Mathias