Glossary Item Box
Strips any HTML formatting from the supplied text.
[JavaScript] sStrippedText = pwStripTags(pwHTML)
A string with all HTML formatting removed.
This method removes all HTML formatting from the supplied pwHTML.
[JavaScript] The following example demonstrates using the pwStripTags method to remove HTML formatting.
<script language="javascript">
var htmlText = "<b>My HTML text</b>"
alert("before: " + htmlText);
htmlText = pwStripTags(htmlText);
alert("after: " + htmlText);
</script>
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.