So I have a habit of using the attribute lang as my selector and store microdata,in jquery.
Althought it is not w3 compliant.But is it a good thing.
Also is there any alternative to this.
something like this. $(‘[lang=153]’) to get this dom and $(this)[0].lang to get the data.
You can put the data into your element using the data- prefix:
Then you can select this element and read the data like this:
http://jsfiddle.net/C3LCp/