Language Reference strike Method


Description

Places the HTML <STRIKE> tag around the text in the object.

Syntax

strVariable.strike( )
"String Literal".strike( )

Remarks

Below is an example of the effects of the strike method:

var strVariable = "This is a string object"
strVariable.strike()

The value of strVariable after the last statement above is: <STRIKE>This is a string object</STRIKE>

No checking is done to see if the tag already exists in the object.