Posts Tagged as ‘firefox’

November 10, 2007

Expando properties and the DomElement.getAttribute method in Firefox

When working in a custom validator control with client-side script I had issues with the javascript code in Firefox. Here is what I learnt.
Asp.net 2.0 uses expando properties to attach additional information to the validators, properties like ‘controltovalidate’, ‘errormessage’, ‘evaluationfunction’, etc. This is done programatically at the client, instead of just rendering invalid HTML attributes. Expando properties in [...]