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"?

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 Help Members By Posting Answers For Below Questions

Explain remove class jquery with example?

740


Tell me how to select combobox select value and text using jquery?

781


What is the use of jQuery load method?

803


What is the use of .size() method in jquery?

718


How do you disable or enable a form element?

744


What is resize() function in jquery?

874


explain width() vs css(‘width’) in jquery

760


Explain the types of selectors in jquery?

771


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

707


Why we need jquery mobile? : jquery mobile

752


Do you know what is the use of jquery.data()?

755


JQuery or JavaScript which is quicker in execution?

780


Define the use jquery.data method?

763


Define all the ways to include jquery in a page?

746


What is the difference between onclick and onsubmit?

795