That appears to create a custom HTML attribute.
I meant my own property - like what is created with

    this.customproperty = value;

not

this.setAttribute("customattribute", value);

I like my HTML clean and valid!.

On 31/12/06, Matt Stith <[EMAIL PROTECTED]> wrote:
> easy peasy:
>
> set the value:
>
> $(element).attr('kids',new_value);
>
> and to retrieve the value:
>
> $(element).attr('kids');
>
>
> On 12/30/06, Oliver Boermans <[EMAIL PROTECTED]> wrote:
> >
> > Hi all
> >
> > What is the best way to attach and access my own properties to DOM
> > elements within the confines of jQuery?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to