Saturday, 24 August 2013

Previous Interview Question Next Interview Question
Home

What is the difference between event.PreventDefault and "return false"?

e.preventDefault() will prevent the default event from occurring, e.stopPropagation() will prevent the event from bubbling up and return false will do both.

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment