I want to add a horizontal row after the user clicks on Completed. This javascript isn't working:
How to fix it?Code:function myFunction() { document.getElementById("green-hr").innerHTML = "<b>Completed</b><br /><hr />"; } <b onclick="myFunction()" id="green-hr">Completed</b>



Reply With Quote

Bookmarks