Hi. I'm new here. I just joined to report an error in Safari 5.1.1 (7534.51.22). I don't know where to report this. Here goes:
When I use document.getElementsByTagName it returns an [object Nodelist]. When I do a 'typeof' of the returned Nodelist it returns 'function' ???? That's not right. Nodelist is an HTML Collection.
Example:
var o = document.getElementsByTagName('div');
alert(typeof o); // returns 'function' ?!?!?!?
When I use document.getElementsByTagName it returns an [object Nodelist]. When I do a 'typeof' of the returned Nodelist it returns 'function' ???? That's not right. Nodelist is an HTML Collection.
Example:
var o = document.getElementsByTagName('div');
alert(typeof o); // returns 'function' ?!?!?!?