Code:
function (data, textStatus) {
// data will be a jsonObj
// textStatus will be one of the following values:
// "timeout","error","notmodified","success","parsererror"
this; // the options for this ajax request
}
From
http://docs.jquery.com/Ajax/jQuery.getJSON.
EDIT: Sorry, misunderstood your question, try
http://blog.reindel.com/2007/10/02/p...nd-javascript/.