Thread:DevSharma/@comment-5354013-20130910215432/@comment-10760902-20130923083954

I think we can always put data in the html tag, not just limited in class attribute, such as element1="f" or elements="['f','n','e']". In the second case, you have to work with json (also support in javascript), and to get value of the attribute, it is document.getElementById('1011').getAttribute('element1') or document.getElementById('1011').getAttribute('elements')

Meanwhile, I'm making module for classified eggs