I would like to ask, if is 'legal' to add custom variables to document body elements. For example:
document.getElementById('elem1').customVariable = 'xxx';
This code just work, but i don't know if it is 'allowed'
It doesn't appear in list of tag's arguments, but variable is usable in further code..