> From Rey Bango: > > and then use the JSON plugin > (http://mg.to/2006/01/25/json-for-jquery) to work with the data.
> From: Aaron Heimlich > > Or you could (as of 1.0.2, possibly a bit earlier) do > > $.getJSON("file.php",function(r) { > alert(r); > }); > > See the API docs <http://jquery.com/api/> under "G" for more info Just as a note, my old JSON plugin and $.getJSON serve two different needs. Mine uses a dynamic script tag, so it uses JSONP format and works cross-domain. $.getJSON uses XMLHttpRequest, so it uses ordinary JSON format (not JSONP) and it works only from your own domain. -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/