jQuery Mobile Question:

Explain .on()?

Tweet Share WhatsApp

Answer:

Since live was deprecated with 1.7, so new method was introduced named ".on()". This method provides all the goodness of previous 3 methods and it brings uniformity for attaching event handlers.

Download jQuery Mobile PDF Read All 77 jQuery Mobile Questions
Previous QuestionNext Question
Explain .delegate()?Can you please explain the difference between prop and attr?