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 : Friday, 22 June 2012 06:13:58 GMT