Skip to content

Instantly share code, notes, and snippets.

@eef
Created March 10, 2014 16:52
Show Gist options
  • Save eef/9468943 to your computer and use it in GitHub Desktop.
Save eef/9468943 to your computer and use it in GitHub Desktop.
var request = $.ajax({
type: 'POST',
url: url,
data: data,
dataType: "html"
})
request.success(function(data) {
// yu promised mofo
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment