On Sep 23, 2007, at 5:19 PM, Jörn Zaefferer wrote:
polyrhythmic schrieb:
If you need to store just key/value pairs mapped to an element, why
not use the new jQuery.data method (aka "Expando Management")? I'm
using this in a caption plugin I'm writing to store the id of the
caption element to its image. The code is fast and has been working
super smooth for me, I prefer it to a global lookup table. It's easy
to miss the documentation for it, I only see it here:
http://docs.jquery.com/Release:jQuery_1.2/Internals
Wanted to add that, too. That really needs some attention
documentation-wise.
Agreed. I think Brandon is working on a blog entry about this on
learningjquery.com. (no pressure, Brandon. ;-) )
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com