This topic has not yet been rated - Rate this topic

WinJS.Utilities.setOuterHTML function

Sets the outerHTML property of the specified element to the specified text.

Syntax


WinJS.Utilities.setOuterHTML(element, text);

Parameters

element

Type: DOMElement

The element on which the outerHTML property is to be set.

text

Type: string

The value to be set to the outerHTML property.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.Utilities

Library

Base.js

 

 

Build date: 12/5/2012

© 2013 Microsoft. All rights reserved.