Glossary Item Box
Formats the selected text of the current HtmlBox as superscript characters.
[JavaScript] pwFormatSuperscript()
This method operates on the current HtmlBox (the HtmlBox that currently has focus). See the MSDN DHTML execCommand method for more information on command identifiers.
[JavaScript] The following example demonstrates using the pwFormatSuperscript method to change the selected text into subscript characters.
<script language="javascript"> <input type='button' value='Click here to format as superscript characters' onclick='pwFormatSuperscript()'> </script>
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.