Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft