Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q1370

Feedback on: irt.org FAQ Knowledge Base Q1370

Sent by Hugh McDonald on January 27, 2003 at 18:31:04: - feedback #4385

Worth:
Worth reading

Comments:
Would be far better if you included example of actually setting outerHTML.

With ie5.5 in windows 98 se,
document.all['myid'].outerHTML ="<p>hello</p>" yields js error -
"Unknown runtime error"

This error seems limited to use of outerHTML; innerHTML as well as outerText, innerText etc function without incident.

Best,
Hugh McDonald
Castaic, CA USA


Sent by kaushik on Friday August 31, 2007 at 01:01:19 - feedback #4975

Worth:

Length:

Technical:
Not technical enough

Comments:
We want live demo,atleast its explanation. :)




Sent by David Smith on Thursday September 06, 2007 at 15:03:02 - feedback #5001

Worth:

Length:
Too short

Technical:
Not technical enough

Comments:
Your example clearly illustrates the difference between innerHTML and outerHTML - and indeed, the difference between these and inner/outerText.

However, from the example given, it would seem that innerText and outerText return the same thing. A better example would show a case where their return values differ.




Sent by jpibay on Thursday March 20, 2008 at 06:30:02 - feedback #5234

Worth:
Worth reading

Length:
Just right

Technical:

Comments:
Thanks! I've been trying to work out how this innertext works. This sure helped me.




©2018 Martin Webb