Created
July 22, 2014 03:08
-
-
Save RoesWibowo/f541db7a905157bc2066 to your computer and use it in GitHub Desktop.
jQuery Ajax Basic
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
$.ajax({ | |
url: url, | |
type: "GET", | |
success: function(callback){ | |
}, error: function() { | |
} | |
}); | |
$.ajax({ | |
url: url, | |
type: "POST", | |
data: data, | |
success: function(callback){ | |
}, error: function() { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment