When you get the message "Object doesn't support this property or method", how do you find out what "Object" is?
To get at IE's debugging information, you have to enable script debugging:
- In Internet Explorer, choose Internet Options from the Tools menu.
- In the Internet Options dialog box, click the Advanced tab.
- On the Advanced tab, under Browsing, clear Disable Script Debugging.
- Click OK.
http://msdn.microsoft.com/en-us/library/ms241741%28v=vs.80%29.aspx
If you have IE 8 or above, you can use their developer tools to debug:
http://msdn.microsoft.com/en-us/library/dd565625%28v=vs.85%29.aspx