Jump to content
Sign in to follow this  
Robai

Reporting Error

Recommended Posts

Herehttp://www.w3schools.com/htmldom/prop_ifra...entDocument.aspI looked at this example:http://www.w3schools.com/js/tryit.asp?file...contentdocument1) if I press Get text button I get this error:http://i41.tinypic.com/1692agz.jpg2) if I press Edit and Click Me button then I get this errorhttp://i41.tinypic.com/2ufvp0n.jpg3) if I press Get text button again I get this error:http://i42.tinypic.com/1179wdh.jpgSometimes I get no error when I press Edit and Click Me button, but clicking it several times gets an error again and clicking it more times error dissapears etc.But I always get error with Get text button.

Share this post


Link to post
Share on other sites

I had no problems with either buttons. I could edit and view the text.I dunno about the first error. There might've been a mistake in the page's code.The second screenshot still may be because of an error in the code. But just in case check again. It might be alright for you now. If not I think maybe your browser might be out of date.

Share this post


Link to post
Share on other sites

Just found the problem:http://i40.tinypic.com/wmibly.jpgI.e. Frame object doesn't have the property contentDocument in IE at all (even in IE7).I checked it with Firefox (3.0.5) and GoogleChrome (1.0.154.53) and both buttons perfectly worked.So, actually it was false alarm, sorry.

Share this post


Link to post
Share on other sites

Ah there yah go! Looks like you did your research good job :)(not even sure if research is the word to use....but whatev I learned something new from you)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...