'strike()' Example : strike « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- strike
'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