Possible Duplicates:
Storing arbitrary info in HTML tags for JavaScript?
What are the concrete risks of using custom HTML attributes?
Custom attributes - Yay or nay?
What are the drawbacks of adding a custom attribute on a standard HTML element?
For example:
<intput type="textbox" id="MyId" MyCustomeAttribute="MyData" />
By adding the MyCustomAttribute, I've made the document invalid, but what are the actual implecations? What problems, if any, will this cause?
I'd be using Javascript to read the values of the custom attributes.
Thanks