Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.