'strike()' Example : strike « Javascript Methods « JavaScript Reference

'strike()' Example

    
<html>
<body>
<button onclick="var myS = new String('Sample String'); 
                 document.write('regular string'+myS.strike());">
STRIKE string</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'strike()' Syntax, Parameters and Note
2.'strike()' is applied to