adspace
What is event preventdefault () and event stoppropagation () in jquery?
Answer Posted / Rubi Chahal
event.preventDefault() prevents the default action of an event, such as submitting a form or following a link. event.stopPropagation() stops the event from bubbling up the DOM tree, preventing any parent handlers from being triggered. In jQuery, these methods are called on event objects passed to event handlers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the minimum setup needed to start using jquery.
How to always reference latest version of jquery?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
How to validate email using jquery?
How can jquery library be added to pages?