jQuery Mobile Question:

What is .bind()?

Tweet Share WhatsApp

Answer:

This is the easiest and quick method to bind events. But the issue with bind() is that it doesn't work for elements added dynamically that matches the same selector. bind() only attach events to the current elements not future element. Above that it also has performance issues when dealing with a large selection.

Download jQuery Mobile PDF Read All 77 jQuery Mobile Questions
Previous QuestionNext Question
What is .detach()?Explain .live()?