Created
December 2, 2015 07:59
-
-
Save xyulex/d83b6b711ed364a99844 to your computer and use it in GitHub Desktop.
JQUERY: $.ajax
This file contains 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: "languageDropdown.php", | |
data: "contentId=" + contentId, | |
type: "POST" | |
success: function (data) { | |
// What to do when is OK. | |
}, | |
}).done(function() { | |
// What to do when is over. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment