What is event preventdefault () and event stoppropagation () in jquery?
Answer / 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 |
Which is the starting point of code execution in jQuery?
What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?
Is it possible that jquery html work for both html and xml document?
How to add and remove css classes to an element using jquery?
Can you please explain the difference between prop and attr? : jquery mobile
How do I check if the DOM is ready?
How to check/uncheck an input in jquery?
what is the use of param() method in jquery .
What is cdn? Explain
How can you disable jquery animation?
How to read cookies in jquery?
Can we use protocol less URL while referencing jQuery from CDNs?