Yes... but in IE (in particular *old* IE) that lookup is very expensive.
Doing it twice isn't a big deal. But if it is in a loop and is being done
LOTS of times it can become a big deal. Basically, document.getElementById
is super slow in IE.
On Wed, Aug 31, 2011 at 3:07 PM, Jason
netinik.com
From: Jason jwestbr...@gmail.com
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Thursday, September 1, 2011 4:07 AM
Subject: [Proto-Scripty] Re: $ function and IE
I actually user logic to solve your problem