1.

What is the difference between bind() and live() function in jQuery?

Answer»

The live() METHOD works for future matching and existing elements, whereas the bind() method works with the components of the attached event that MATCH or EXIST the selector at the time of the call.

48. Why we use jQuery .each() function?

The .each() function in jQuery is used by developers to iterate over both arrays and objects seamlessly. Where arrays and array-like objects with a length property are iterated by numeric index, other objects are iterated with their named PROPERTIES.



Discussion

No Comment Found