jQuery Mobile Question:
Download Questions PDF

Explain event.PreventDefault?

Answer:

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

Download jQuery Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between prop and attr?What is event.stopPropagation?