What is event.PreventDefault?

Answer Posted / chaitanya

The event.preventDefault() method stops the default action of an element from happening. For example, Prevents a link from following the URL.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some of the methods of jquery used to provide effects?

457


How method can be called inside code behind using jQuery?

469


Define jquery $.ajax() method?

468


How to fetch the values of selected checkbox array using jquery?

486


Explain the difference between find and children methods in jquery?

469






Explain all the ways to include jquery in a page?

465


What is the name of jquery method used for an asynchronous http request?

490


Define jquery connect?

518


Can you please explain the difference between prop and attr? : jquery mobile

423


What is the starting point of code execution in jquery?

445


What is the between $(this) and 'this' in jquery?

502


How to use jquery.connect?

492


What are the basic selectors in jQuery?

513


How to select combobox select value and text using jquery?

442


Can you please explain the difference between .js and .min.js? : jquery mobile

409