Skip to content

Instantly share code, notes, and snippets.

@iamvery
Created January 6, 2011 17:34
Show Gist options
  • Save iamvery/768233 to your computer and use it in GitHub Desktop.
Save iamvery/768233 to your computer and use it in GitHub Desktop.
Successful AJAX handler on remote form using jquery-ujs (rails.js)
$('form').bind('ajax:success', function(e, data){
alert(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment