Q695 Posted May 11, 2014 Share Posted May 11, 2014 Now that I have a sliding div function working, how do I turn off a function call when working within the inner div tag? Quote Link to comment Share on other sites More sharing options...
Drongo_III Posted May 26, 2014 Share Posted May 26, 2014 (edited) Hello It sounds like you want to remove an event handler? If so here are some options: 1) IF registering events with jquery .on() then you can use jquery .off to remove the event temporarily 2)If you simply wish to stop the event bubbling then you can use e.stopPropagation() method which will stop the bubbling of a child element executing parent element click handlers. Hope that helps - possibly with more clarity I could help more. Edited May 26, 2014 by Drongo_III Quote Link to comment Share on other sites More sharing options...
Q695 Posted May 29, 2014 Author Share Posted May 29, 2014 I have a nested div within another div, and it bubbles from the first div tag to the 2nd div tag for some reason. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.