I've got this example page where I'm trying to add a child to a "object" tag.
To do it I need to get all the "object > params" in the page. The page I link you works like charm in all the browser except for IE6 (haven't cheked the other IEs yet). With IE6 I can't catch the "params" since document.getElementsByTagName('param') returns an empty object, but this doesn't happen with the "embed"! It won't work with document.getElementsByTagName('object') as well
Here is the page http://dl.dropbox.com/u/4064417/provaJs.html
Any suggestion why it's not returning just the "param" and "object" tags?
If there is no way to make getElementsByTagName, is there any other way I can achieve the same thing in IE6?
Please don't answer telling me that adapting code for IE6 is now a waste of time. I know it, but I have a boss and tasks to follow.
Thank you in advance!