It's the way IE builds the dom for its browser and it actually isnt
compliant anyway. I would "never" reference anything in the dom like that 

-----Original Message-----
From: Gafa [mailto:[email protected]] 
Sent: Tuesday, 21 September 2010 11:44 PM
To: MooTools Users
Subject: [Moo] Direct Element Reference

If you use "$" on an element in IE7 or Chrome 6.0.4+ you can directly
reference that element by name/id without the use of "$" in additional
code?  Is this intended functionality?  Does not work in FF3.6+

http://www.jsfiddle.net/bSKsc/

Came across the above, code reviewing another web devs work, and
couldn't believe what I was seeing.

Gafa

Reply via email to