Microsoft® JScript
strike Method

See Also

Language Reference 


Places HTML <strike> tags around text in a String object.


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


The example that follows demonstrates how the strike method works:

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

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

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

© 1996 by Microsoft Corporation.
Casa de Bender