| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Korma Kameleon
Join Date: Feb 2008
Posts: 849
|
attaching a variable to a DOM element: jQuery
how can I attach a variable to a DOM element, in jQuery, on the fly something like Code:
so that I can keep my vars with their relevant DOM elements |
|
|
|
|
|
#3 (permalink) |
|
Vegetating
Join Date: Oct 2008
Location: Pais del Scorchio
Posts: 171
|
I'm a MooTools user, but just googled 'jquery equivalent of store' and found the data() method - Use jQuery's data() method to store data in the DOM Not sure if that's what you're looking for. |
|
![]() |
|