Skip to content

Instantly share code, notes, and snippets.

@tarkanlar
Forked from batandwa/ajax_post.js
Created December 6, 2012 00:22
Show Gist options
  • Save tarkanlar/4220825 to your computer and use it in GitHub Desktop.
Save tarkanlar/4220825 to your computer and use it in GitHub Desktop.
jQuery - Send a form using Ajax
jQuery.post(
$(this).attr('action'),
$(this).serialize(),
function( output ) {
alert('Success...');
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment