Possible duplicates:
Saving arbitrary information in HTML tags for JavaScript?
What are the specific risks of using custom HTML attributes?
Custom attributes - Yay or nay?
What are the disadvantages of adding a custom attribute to a standard HTML element?
For example:
<intput type = "textbox" id = "MyId" MyCustomeAttribute = "MyData" />
By adding MyCustomAttribute, I invalidated the document, but what are the actual implementations? What problems, if any, will be the cause?
I would use Javascript to read user attribute values.
thanks
javascript html
Craig
source share