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 |
What is the starting point of code execution in jquery?
Explain .empty() vs .remove() vs .detach() in jquery
Explain the difference between event.preventdefault and "return false"? : jquery mobile
How is the deferred method in jquery important in relation to animate method?
Why we need jquery?
Which is fast document.getElementByID('txtName') or $('#txtName').?
How we can check if an element is empty or not using jquery?
Explain the difference between size and length of jquery?
What is a use of jquery filter?
What is queue() in jquery?
Why we use jquery .each() function?
Is jQuery is a JavaScript or JSON library file?