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 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 general feeling is on this.
>
> > I'm guessing any opposition to the idea would be based on the fact
> > that it wouldn't validation (if someone were to extract the DOM and
> > run that through a validator), but does that really matter?
>
> > Since plugins are used by the community, I don't want to do anything
> > that would grossly offend anyone, so I thought I'd just see what the
> > reaction would be. =)

Reply via email to