[jQuery] getJSON 2nd param to pass data
http://docs.jquery.com/Ajax/jQuery.getJSON
I don't get what it means in this example:
Load the JSON data from test.js, passing along additional data, and
access a name from the returned JSON data.
$.getJSON("test.js", { name: "John", time: "2pm" }, function(json){
alert("JSON Data: " + json.users[3].name);
});
ok, so passes additional data HOW? querystring I presume? Not enough
info and I tried it but I can't tell what's being passed..guess I'll
fire up Fiddler.