|
| JAVASCRIPT sup() METHOD
In javascript, the sup() method displays the text/string in superscript ie. as if it were in the <sup> element.
The general format is:
string.sup();
Example:
<script type="text/javascript">
var string="Bugs Bunny Here";
document.write(string.sup());
</script>
The above will output:
See Also:
|
|