-
-
Save mexelout/c13ec055aa66cf37f2b56ad839ea9dcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add_area | |
= link_to '+', '', id: 'plus' | |
javascript: | |
$(function(){ | |
$(document).on('click', '#plus', function(){ | |
$('#add_area').append('<div class="col-sm-10"><input type="text" class="form-control" /></div>') | |
return false; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment