jQuery Mobile Question:

Download Job Interview Questions and Answers PDF

What is .bind()?

jQuery Mobile Interview Question
jQuery Mobile Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is .detach()?Explain .live()?