Using jQuery’s .data() feature
jQuery has a feature that allows you to assign arbitrary data to DOM elements by way of the data storage methods. I ran into a scenario today where this feature came in very handy. Here is how the process works: … Continue reading




