tyuret
asked on
IE contentDocument.documentElement problem
Hi,
I am trying to write a cross browser js code
The below line gives "Object doesn't support this property or method" error on an IE browser
while it does not give any error on another IE . Both has exactly the same version.
if (iframeid.contentDocument) var ht0=iframeid.contentDocume nt.documen tElement.s crollHeigh t;
any idea?
Thank you
I am trying to write a cross browser js code
The below line gives "Object doesn't support this property or method" error on an IE browser
while it does not give any error on another IE . Both has exactly the same version.
if (iframeid.contentDocument)
any idea?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you
iframeid.contentDocument.d
OR:
iframeid.contentWindow.doc
refer to:
http://stackoverflow.com/questions/1477547/getelementbyid-contentdocument-error-in-ie