JavaScript strike() Method
Complete String Object Reference
Definition and Usage
The strike() method is used to display a string with a strikethrough.
Syntax
Example
In this example "Hello world!" will be displayed with a line trough it:
<script type="text/javascript">
var str="Hello world!";
document.write(str.strike());
</script>
|
Try-It-Yourself Demos
strike()
How to use strike() to display a string with a strikethrough.
Complete String Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|