Element.Methods.Simulated

Element.Methods.Simulated allows simulating missing HTMLElement methods in non standard compliant browsers which you can then call on extended elements just as if the browser vendor had suddenly decided to implement them.

Methods

hasAttribute
simulated

hasAttribute(element, attribute) -> Boolean

Simulates the standard compliant DOM method hasAttribute for browsers missing it (Internet Explorer 6 and 7).