Created
August 6, 2015 20:02
-
-
Save eduardoromero/8ca74babd8abe48342b1 to your computer and use it in GitHub Desktop.
Prevent Default
This file contains hidden or 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
| $(document).on("click", ".eliminar", function (e) { | |
| e.preventDefault(); | |
| var parent = $(this).parents().get(0); | |
| $(parent).remove(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment