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
How can images be made to appear scrolling one over another?
Define jquery filter?
Explain the use of each function in jquery?
What is meant by a deep copy? : jQuery Mobile
What are the advantages of method chaining in jquery?
How to validate phone number using jquery?
Tell me does jquery 2.0 supports ie? : jquery mobile
What is the difference between onclick and onsubmit?
Write the code to define a requirejs module with its dependencies.
What is the use of delegate() method in jquery?
What is the name of jquery method used for an asynchronous http request?
How to multiple version of jQuery?
What are all the ways to include jQuery in a page?
What are the paremeter of jquery ajax method?
How to use transition effects? : jQuery Mobile