[jQuery] Re: data cache and tag attributes

2008-09-04 Thread Paul Carey
I explored this in a little more detail (specifically, adding non standard attributes to HTML markup), and wrote up my thoughts. http://pa.ulcarey.com/articles/2008/09/04/illegally-embedding-attributes-for-fun-and-profit On Sep 2, 8:33 am, Paul Carey <[EMAIL PROTECTED]> wrote: > Very helpful, th

[jQuery] Re: data cache and tag attributes

2008-09-02 Thread Paul Carey
Very helpful, thanks for the response. Paul On Aug 28, 12:16 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Some downsides to using expandos (arbitrary attribute key/value pairs on > DOMElements): > > 1) possible memory leaks > 2) keyname choice is limited because of built in attributes/prop

[jQuery] Re: data cache and tag attributes

2008-08-28 Thread Richard D. Worth
Some downsides to using expandos (arbitrary attribute key/value pairs on DOMElements): 1) possible memory leaks 2) keyname choice is limited because of built in attributes/properties 3) have to be careful about what you stick in there (see 1). Best to stick with simple values, ints and strings jQ