Hey thanks for your help, that managed to cure the problem. But now when I press button and run a piece of code called "showTable" (to display the table) it remains hidden...I have placed some alerts in the code to see where it is going wrong and it seems that after the button is pressed,the...
Hello,
I am trying to hide an HTML table when the page initially loads and then display it when a button is clicked.
I have created two functions to do this
function showTable(){
document.getElementById('myTable').style.visibility = "visible";
}
function hideTable(){...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.