html - Hyperlink in a div with jQuery.toggle Event -
i have div element wich has jquery.toggle event. if add hyperlink content of div, click on hyperlink fire jquery.toggle event of parent div. possible prevent ? hyperlink should open weblink, , not fire event.
try :
$("#linkinsideyourdiv").click(function(event)) { event.stoppropagation(); // other stuff }
Comments
Post a Comment