View gist:1271627
$(document).ready(function(){ | |
$('.submit').bind('ajax:success', function(){ | |
$('.request_notice').text("You've been successfully added to the list!"); | |
$('.notice').addClass('success').slideDown('2000'); | |
$('#wrapper').animate({height: '+=20'} ) ; | |
}); | |
}); |