Microsoft JScript
small Method |
Language Reference
Version 1 |
Places HTML <SMALL> tags around text in a String object.
strVariable.small( )
"String Literal".small( )
The example that follows demonstrates how the small method works:
var strVariable = "This is a string"; strVariable = strVariable.small( );
The value of strVariable after the last statement is:
<SMALL>This is a string</SMALL>
No checking is done to see if the tag has already been applied to the string.