How to assign custom property to jQuery object?
Posted
by George Edison
on Stack Overflow
See other posts from Stack Overflow
or by George Edison
Published on 2010-04-22T22:51:06Z
Indexed on
2010/04/22
22:53 UTC
Read the original article
Hit count: 200
I need to assign a custom property to a jQuery object. Here is the object:
var object = $("<div id='item'></div>");
I need object
to have a custom data member. How can I add this?
© Stack Overflow or respective owner