Created
February 16, 2012 08:58
-
-
Save oscardelben/1843471 to your computer and use it in GitHub Desktop.
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
<form class="my_form"> | |
<a class="my_link"></a> | |
</form> | |
<script type="text/javascript"> | |
$('.my_form').live('ajax:success', | |
// this gets triggered when I click on my_link, I don't want that | |
) | |
$('.my_link').live('ajax:success', | |
// I want this to not trigger the my_form event | |
) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment