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
Which program is useful for testing jQuery?
How to select all elements using jQuery?
What is jQuery CDN?
Can you use any other name in place of $ (dollar sign) in jQuery?
What are the basic selectors in jQuery?
Explain the advantages of jquery?
What is the difference between settimeout() and setinterval() methods?
What is the use of val() method in jquery?
How we can select multiple elements in jquery?
What is jquery datepicker in jquery?
Can you please explain the difference between javascript and jquery? : jquery mobile
Explain the difference between .js and .min.js?
What are the different types of selectors in jquery?
What is cdn and how jquery is related to it?
How to disable cut,copy and paste in TextBox using jQuery?