Community Member Profile
- Profile: /members/791-Scott.htm
- URL: http://lazycoder.com
- Comments: 2
- Points: 1
Recent Blog Comments By Scott
-
jQuery Data() Method Associates Data With DOM Elements - SWEET ASS SWEET!
Posted on Nov 20, 2008 at 3:37 PM
@Henry Here's one way I use the .data() storage. We often build table rows or add elements dynamically to the page. When we build these things, we give them an id and append a counter (e.g. "UserName_row1_col2"). When can store the appended value in the .data() key like so newElement.... read more »
-
jQuery Data() Method Associates Data With DOM Elements - SWEET ASS SWEET!
Posted on Nov 20, 2008 at 12:10 PM
I don't know if you're following me on Twitter or not. I posted a link to the jQuery API doc for .data() the other day just because It does rock. http://twitter.com/lazycoder/status/1011939872 We've been usi... read more »



