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
Please tell us that is jquery knockkout intended to compete with jquery or prototype or work with it?
How can related code be encapsulated? Give example.
How to add and remove css classes to an element using ?
List browser related issues for jquery?
How to check/uncheck an input in jquery?
Tell me what are the slow selectors in jquery? : jquery mobile
Explain the difference between .js and .min.js?
What are the approaches of extracting a query string with regular expressions?
Explain the features of jquery?
What is event.PreventDefault in jQuery?
Differentiate between jquery.size and jquery.length? : jQuery Mobile
Give a brief idea about jquery mobile? : jQuery Mobile
Explain .live()? : jquery mobile
What methods used to provide effects?
How to executed jquery selectors? : jquery mobile