jQuery Mobile Question:

Download Job Interview Questions and Answers PDF

What is eq()?

jQuery Mobile Interview Question
jQuery Mobile Interview Question

Answer:

eq() returns the element as a jQuery object. This method constructs a new jQuery object from one element within that set and returns it. That means that you can use jQuery functions on it.

Download jQuery Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between parent() and parents() methods in jQuery?What is get()?