Glossary Item Box

PowerWEB TextBox for ASP.NET

pwStripTags Method

Strips any HTML formatting from the supplied text.

[JavaScript]
sStrippedText = pwStripTags(pwHTML)

Parameters

pwHTML
Required. The HTML text to remove HTML formatting from.

Return Value

A string with all HTML formatting removed.

Remarks

This method removes all HTML formatting from the supplied pwHTML.

Example

[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>

	

In This Section

Assembly Overview
Contains classes that support and enable creation of HTML-editing capable web applications.
Client-Side API
Describes client-side JavaScript functions that are used by PowerWEB TextBox for ASP.NET.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.