and then use the JSON plugin
(http://mg.to/2006/01/25/json-for-jquery) to work with the data.
Or you could (as of 1.0.2, possibly a bit earlier) do
$.getJSON("file.php",function(r) {
alert(r);
});
See the API docs under "G" for more info
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/