[Javascript] Microsoft proprietary DOM vs Standards (Was: IE work-a-round question (re: checkboxes))

David Dorward david at dorward.me.uk
Wed Apr 16 03:59:11 CDT 2008


On 16 Apr 2008, at 06:02, Troy III Ajnej wrote:
> Yeah, so was the IE, direct element refferencing

Generating global variables, which might conflict with built ins,  
simply by associating an HTML document with a JavaScript program is a  
good way to generate confusing bugs during development and make  
maintenance a pain.

> , a decade older than W3C  
> document.getElementById(MyElement).style.something.

Internet Explorer 1.0 was released in 1995

JavaScript was first seen on the web in 1996

Internet Explorer 3.0 arrived in 1996 and was the first version to  
include support for client side scripting.

DOM 1 reached recommendation status in 1998

Where does this "decade" fit in?

> It was more readable, more easy, more flexy, more reliable, more  
> everything...
> by simply stating: MyElement.style.smashIt, but what happened?

It lent itself to write-only code, they didn't consult with anyone  
before implementing it, the standards group (including Microsoft) came  
up with something better.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/





More information about the Javascript mailing list