[Solved] How to show a specific table from an HTML file with several tables when the html is called? [closed]


When you need to show/hide table you can use below code

<script type="text/JavaScript">  


<!--  
function show(id)  
{  
     if (document.getElementById(id).style.display == 'none')  
     {  
          document.getElementById(id).style.display = '';  
     }  
}  
//-->  

<!--  
function hide(id)  
{  
          document.getElementById(id).style.display = 'none';  

}  
//-->  
</script>  

By default you can assign id and have values like below

  <table id="tblA" style="DISPLAY: none" cols="1" cellpadding="2">  

2

solved How to show a specific table from an HTML file with several tables when the html is called? [closed]