Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between event.PreventDefault and "return false"?



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

Post New Answer

More jQuery Interview Questions

What is the starting point of code execution in jquery?

0 Answers  


Explain .empty() vs .remove() vs .detach() in jquery

0 Answers  


Explain the difference between event.preventdefault and "return false"? : jquery mobile

0 Answers  


How is the deferred method in jquery important in relation to animate method?

0 Answers  


Why we need jquery?

0 Answers  


Which is fast document.getElementByID('txtName') or $('#txtName').?

1 Answers  


How we can check if an element is empty or not using jquery?

0 Answers  


Explain the difference between size and length of jquery?

0 Answers  


What is a use of jquery filter?

0 Answers  


What is queue() in jquery?

0 Answers  


Why we use jquery .each() function?

0 Answers  


Is jQuery is a JavaScript or JSON library file?

0 Answers  


Categories