Dynamic Content: Replacing Text in Objects
innerText
Click the statement below to replace the text message using the innerText property.
Dynamic Content is Very Cool!
innerHTML
Click the statment below to replace the text message using the innerHTML property.
Dynamic Content is Very Cool!
outerText
Click the statment below to replace both the text message and the HTML object with non-HTML text using the outerText property.
Dynamic Content is Very Cool!
outerHTML
Click the statment below to replace both the text message and the HTML object with text that includes HTML objects using the outerText property.
Dynamic Content is Very Cool!
© 1999 Microsoft Corporation. All rights reserved. Terms of use.