[jQuery] Using data(name,value) to store additional information

[jQuery] Using data(name,value) to store additional information


I wanted to define additional attribute to a tag to manage
information. I realized that XHTML might not like it and discovered
the data(name,value) function.
I was wondering how i could retrieve all tags e.g. "div" that have
that data variable set.