Skip to content

Instantly share code, notes, and snippets.

@novemberkilo
Created January 12, 2011 10:48
Show Gist options
  • Save novemberkilo/776005 to your computer and use it in GitHub Desktop.
Save novemberkilo/776005 to your computer and use it in GitHub Desktop.
The jQuery that responds to clicking on the "Add another" link
$(document).ready(function() {
$("#add_user").click(function(e) {
$("#user_details_base").clone().appendTo($(".user_details")).show();
return false;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment