good to note the difference, Mike. For my current
purpose, single domain is fine. Thanks for the tip! :) Chris Michael Geary wrote: 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 HeimlichOr 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 infoJust 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/ |
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/