Document.getElementsByTagName that returns a DOM node list.
Initially I thought of using something simple like:
And that works fine in all browsers, except of course Internet Explorer which returns the error "JScript object expected", as apparently the DOM node list returned by
Document.getElement* methods is not a JScript object enough to be the target of a function call.
My last ditch effort is to iterate over the DOM node list and create an array myself, but is there a nicer way to do that?