Skip to content

Instantly share code, notes, and snippets.

@alohasoftworks
Created September 25, 2009 15:34
Show Gist options
  • Select an option

  • Save alohasoftworks/193626 to your computer and use it in GitHub Desktop.

Select an option

Save alohasoftworks/193626 to your computer and use it in GitHub Desktop.
function getJsonJobDetails(jobId)
{
var url = '/JobDetails/GetJsonDetails';
$.ajax({
type: "GET",
url: url,
data: { jobId: jobId },
dataType: "json",
error: function(xhr, status, error) {
alert(error);
},
success: function(json) {
alert("Data Returned: " + json);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment