jQuery's Data Method - How and Why to Use It

jQuery's data method can make our code more concise and clean. As of jQuery 1.4.3 we also have the ability to use the method on regular JavaScript objects and listen for changes, which opens the doors to some quite interesting applications.

2 of 2
  • 1
  • 2