Hi, I hope this is a simple problem but I can't seem to find an answer. I have something like the following:
<script> $('.parent').toggle(function() { $(this).slideUp(); }, function() { $(this).slideDown(); }); </script> <div class="parent" style="background:#000;"> <div class="child"> <'a href="#">link<'/a> </div> </div> Where the 'parent' div triggers a function on click/toggle but I want to keep the default behaviour of the link inside the child element (ignoring the extra ' ). Is there any way to do this? Something like $('.child').unbind(function); ? Or trigger the href attribute onclick instead of the slideUp? Any help would be greatly appreciated! -- View this message in context: http://www.nabble.com/How-to-un-inherit-a-function-of-a-parent-element--tp17819990s27240p17819990.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.