Hi all,
I have 2 tables in my web page like this:
<table id="tblTable1" style="display: none;"></table>
<table id="tblTable2" style="display: none;"></table>
What javascript code could I use to hide and show them?
Here is what I had prior to some changes but it no longer works:
document.getElementById("tblTable1").style.visibility='visible';
document.getElementById("tblTable2").style.visibility='hidden';
Thanks.
I have 2 tables in my web page like this:
<table id="tblTable1" style="display: none;"></table>
<table id="tblTable2" style="display: none;"></table>
What javascript code could I use to hide and show them?
Here is what I had prior to some changes but it no longer works:
document.getElementById("tblTable1").style.visibility='visible';
document.getElementById("tblTable2").style.visibility='hidden';
Thanks.