> The problem is that i don't have access to the metadata plugin. > > So the question is still... is this possible with the built in > function $.data?
No, the data function does not extract data from the markup. "data" is a convenient way of getting and storing runtime state. You could write your own logic for extracting data from the markup using attr or hasClass for example..