What is the difference between event.PreventDefault and "return false"?
Answer / 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 |
Can we add more than one ‘document.ready’ function in a page?
How do I pull a native DOM element from a jQuery object?
Is jquery still relevant 2019?
What is jquery and what are the advantages?
Where can we download JQuery?
What does $("P") will select?
What is the difference between onclick and onsubmit?
What is difference between sorting string array and sorting numerical array in jquery?
What are the approaches of extracting a query string with regular expressions?
How do you select element by ID in jQuery?
Define data paremeter of jquery ajax method?
Differences Between jQuery .bind() and .live()?