Skip to content

Instantly share code, notes, and snippets.



Created Oct 7, 2011
What would you like to do?
Rails 3.1 UJS callback handling
$('.submit').bind('ajax:success', function(){
$('.request_notice').text("You've been successfully added to the list!");
$('#wrapper').animate({height: '+=20'} ) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.