Showing posts with label event propagation vs event preventdefault. Show all posts
Showing posts with label event propagation vs event preventdefault. Show all posts

Saturday, 27 August 2016

Javascript Event Propagation vs Event PreventDefault

Event Propagation vs Event PreventDefault Event Propagation Event Propagation Stops the Event from bubbling or making the event Chain .  Example : -  A Click Event on a <td> tag will also fire click event on it's parent <tr> and this event chain also continues to parent <table> tag of that <tr> this makes a event chain in order...