Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

msIsStaticHTML method

Returns a Boolean value indicating whether or not the given HTML string is safe.

Internet Explorer 10

 

Syntax

var retVal = window.msIsStaticHTML(html);

Parameters

html [in]

Type: DOMString

The HTML markup to check.

retVal [out, retval]

Type: boolean

Remarks

This method is similar to toStaticHTML. toStaticHTML takes an arbitrary string of HTML as the parameter and produces a modified (if necessary) version of that HTML that is safe. msIsStaticHTML takes an arbitrary string of HTML as the parameter and returns true if toStaticHTMLdid not have to modify the string to make it safe. Otherwise, it returns false.

See also

window
toStaticHTML

 

 

Show: