Created
January 22, 2019 06:27
-
-
Save jaamaalxyz/d7c5b6a7d3c11b8b7ec7541c324cb8a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
function LoadPersons(data) { | |
// do something with data | |
} | |
$.ajax({ | |
type: 'POST', | |
url: url, | |
data: JSON.stringify(parameters), | |
contentType: 'application/json;', | |
dataType: 'json', | |
success:function(result) { | |
// do something with persons (data) | |
// e.g. | |
LoadPersons(data); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment