What is event.PreventDefault?



What is event.PreventDefault?..

Answer / 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

More jQuery Interview Questions

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

0 Answers  


Explain the use of data-role=”page” attribute? : jQuery Mobile

0 Answers  


How can images be made to appear scrolling one over another?

0 Answers  


How to add or remove classes to an element in jquery?

0 Answers  


Why html 5 inputs look different across devices and browsers? : jquery mobile

0 Answers  






Define jquery $.ajax() method?

0 Answers  


Explain the basic need to start with jquery? : jquery mobile

0 Answers  


Explain the difference between .js and .min.js? : jquery mobile

0 Answers  


What is the use of serialize method in jQuery?

0 Answers  


Explain the use of each function in jquery?

0 Answers  


How to check data type of any variable in jQuery?

1 Answers   Infoica Tech,


Is jquery a framework?

0 Answers  


Categories