Can I create custom HTML attributes and have DOM support in IE6+ ?
Example:
<a class="utilityLinks" href="index.html" xmlVal="topNavLinkHome">Home</a> | <a class="utilityLinks" href="#" xmlVal="topNavLinkLogin">Login</a>
The idea here is that I would fire a function on load that would traverse the entire HTML document doing a unique lookup everywhere it finds the xmlVal attribute and replacing the elements text value (with a foreign language). The lookup would access a separate XML document for the foreign language values.





Bookmarks