For instance, here is my code which works fine:
$.ajax({
type: "GET",
dataType: "json",
url: tUrl,
success: GotNewData,
error: GetDataError,
complete: AjaxRequestComplete
});
To the "GotNewData" function, I would also like to pass some other information. The url would be nice, but some other context info would be fine too. A unique ID. Some random string. ...anything.
Any ideas?
No comments:
Post a Comment