Garrett Smith wrote: > getElementsByTagName('body').item(0); > > (or for better performance) > > getElementsByTagName('body')[0]; For what it's worth, I believe the former is a tiny little bit faster than the latter in Gecko, though the difference is pretty minuscule. -BorisReceived on Wednesday, 29 March 2006 18:50:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 May 2007 00:17:19 GMT