If you want or need to set an attribute you should use the .attr (
http://docs.jquery.com/Attributes ) function. If you want to set a custom
property, you should use the .data (
http://docs.jquery.com/Core/data#name) function.
--
Brandon Aaron

On Mon, Nov 10, 2008 at 7:52 AM, Marco <[EMAIL PROTECTED]> wrote:

>
> It's possible to add a property (set and get) to a object, for example
> a DIV?
>
>
> Thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to