outerHtml
This function sets or retrieves the specified element and its content in HTML.
Syntax
function get xweb.document.htmlElement.outerHtml() : String
function set xweb.document.htmlElement.outerHtml(value : String)
Parameters
value When used with set, the value string completely replaces the specified element, including the start and end tags.
If the value string contains HTML tags, the string is parsed and formatted when it is added to the document.
Note
Changes written to the document using outerHtml cause the DOM to be refreshed.
Returns
When used with get, this property returns the string of the specified element, including the start and end tags that enclose the element.
See Also
Concepts
htmlElement
htmlElement Members
xweb
Copyright © 2011 by Microsoft Corporation. All rights reserved.