Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. 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...

Javascript Event StopPropagation

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 to stop this event Chain propagation we can Use StopPropagation...

Saturday, 30 April 2016

Thursday, 14 April 2016