Chrischaaan(Christian): Wie macht man einen Link in Javascript!

Beitrag lesen

<table width="100px" border="1" bordercolor="white" cellspacing="0" cellpadding="0">
   <tr>
     <td onmouseover="this.style.backgroundColor='gray'" onmouseout="this.style.backgroundColor=''" align="left" >
<a href="onclick="location='deineseite.html'"">Home</a></td>
   </tr>
</table>

als button sieht das ganze dann so aus:

<input type="button" value="DEIN BUTTON NAME" onclick="location='seitenname.html'">