Using IActiveScript to get HTML elements



Hi,

I am trying to get html elements from IActiveScript. I have managed to
expose IHTMLDocument2 point to IActiveScript named object, say 'doc'. But
when I use 'alert(doc.frames[0].location)' in my active script. I got an
error, saying it's not an object. But it is actually.

Any advise is appreciated

Best

Jeff


.