Wizzud that is _exactly_ what I was looking for! Thank-you!
I see this being particularly useful for storing references to other
DOM elements.
For example to store a reference on each paragraph to it's previous
sibling:
!-- HTML --
pItem 1/p
pItem 2/p !-- save ref to item 1 --
Is there a relatively simple plugin that takes advantage of jQuerys
expando management that anyone can recommend as an example?
The most promising information I have discovered is in the release
notes of jQuery 1.2 where John mentions jQuery.data() : http://
Thanks Mike,
can the metadata plugin be used to store variables determined on load
for later use?
So when the variables are subsequently required the code to retrieve
them is simple and quick.
Cheers
Ollie
On 05/11/2007, Mike Alsup [EMAIL PROTECTED] wrote:
Is there a relatively simple plugin
Using the example data that started the post...
// create a DIV with text, and append to #cardholder...
var businessCard = jQuery('div class=bcardBusiness Card/
div').appendTo('#cardholder').get(0);
// store data against the DIV element created above...
jQuery.data( businessCard //element
Is there a relatively simple plugin that takes advantage of jQuerys
expando management that anyone can recommend as an example?
The most promising information I have discovered is in the release
notes of jQuery 1.2 where John mentions jQuery.data() : http://
5 matches
Mail list logo