jQuery Mobile Question:

Explain event.PreventDefault?

Tweet Share WhatsApp

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 PDF Read All 77 jQuery Mobile Questions
Previous QuestionNext Question
Can you please explain the difference between prop and attr?What is event.stopPropagation?