What is the difference between event.PreventDefault and "return false"?
Answer Posted / chaitanya
e.preventDefault() will prevent the default event from occurring, e.stopPropagation() will prevent the event from bubbling up and return false will do both.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain remove class jquery with example?
Tell me how to select combobox select value and text using jquery?
What is the use of jQuery load method?
What is the use of .size() method in jquery?
How do you disable or enable a form element?
What is resize() function in jquery?
explain width() vs css(‘width’) in jquery
Explain the types of selectors in jquery?
How we can check if an element is empty or not using jquery?
Why we need jquery mobile? : jquery mobile
Do you know what is the use of jquery.data()?
JQuery or JavaScript which is quicker in execution?
Define the use jquery.data method?
Define all the ways to include jquery in a page?
What is the difference between onclick and onsubmit?