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 the use jquery.data method?
what does $("div") will select? : jquery mobile
Explain the difference between size and length of jquery?
How can we apply css in odd childs of parent node using jquery library?
Differentiate between jquery.size and jquery.length? : jQuery Mobile
What is queue() in jquery? Use of queue() in jquery?
Tell me what is the use of .size() method in jquery?
Why jQuery is needed?
How to check if number is numeric while using jquery 1.7+? : jquery mobile
Define cache paremeter of jquery ajax method?
What is a filter in jquery? Explain
What is a jquery ?
What is parent() in jquery?
Is jquery code exicuted on the clientside, or serverside?
Explain the difference between .empty() and .remove() ?