[jQuery] Meta Data within elements
I am creating a product/category tree using jquery. I would like to be able
to store additional data within each node.
The nodes in my tree are basicaly list elements. How would I add data to
these elements such as the count of products and categories beneath them ?
I tried this method.
jQuery.data(objNode, 'intProdCounter', intProdCounter);
But I have had some problems.. are there any other ways of acheiving this ?
thanks for any help in advance
--
View this message in context: http://www.nabble.com/Meta-Data-within-elements-tp21416642s27240p21416642.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.