How to do strike through string for javascript
I want to strike through text in Javascript but I can't seem to get the
code to work.
var message = document.getElementById('helloWorld');
setTextContent(message, 'hello world!'.strike());
Would appreciate any help. Would also like to do it without using css.
No comments:
Post a Comment