[jQuery] Re: Custom element attributes generated by a plugin

2008-04-01 Thread Eric Martin
Thanks guys. I've decided not to use a custom attribute and am instead using $.data. The only downside being that the plugin will now require jQuery 1.2+ On Mar 31, 3:36 pm, Wizzud <[EMAIL PROTECTED]> wrote: > I, too, would have to be counted on the 'not in favour' side. > Can you not use a clas

[jQuery] Re: Custom element attributes generated by a plugin

2008-03-31 Thread Wizzud
I, too, would have to be counted on the 'not in favour' side. Can you not use a class, or $.data, or $.metadata, or some such? On Mar 30, 3:24 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > I'm *considering* adding a custom attribute for elements created in a > plugin and wanted to know what the ge

[jQuery] Re: Custom element attributes generated by a plugin

2008-03-31 Thread Ariel Flesler
I'm not an expert on that, but count me in against adding them. Maybe if you include a doctype... :) -- Ariel Flesler http://flesler.blogspot.com On Mar 30, 11:24 am, Eric Martin <[EMAIL PROTECTED]> wrote: > I'm *considering* adding a custom attribute for elements created in a > plugin and wante