How do you hide a table as the page loads?
Let’s say iv 2 table in one form.
[code]
<form name=”form1″ method=”post” action=””>
<table width=”75%” border=”1″ id=”1″>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<table width=”75%” border=”1″ id=”2″>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
</form>
as i load this page, i want table 2 to be hidden.
What’s the javascript code for that?