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 |
Explain width() vs css(‘width’)?
What are deferred and promise object in jQuery?
Define cdn in jquery?
How to add a class to html element?
What is difference between prop and attr?
Explain finish method in jquery? : jquery mobile
What is the difference between parent() and parents() methods in jQuery?
What are the different types of selectors in jquery?
What is .empty()? : jquery mobile
What is the use of jquery .each() function?
How to check/uncheck an input in jquery?
What are the difference between empty(), remove() and detach() functions in jquery?