Code:
<tr><td class="rowheader" colspan="2">
<a href="timetable_view.php?id=2"><input class="btn" type="button" name="add" value="View timetable" tabindex="5"></a>
<input class="btn" type="button" name="add" value="View timetable" onclick="window.location='timetable_view.php?id=2';" tabindex="6">
</td></tr>
The above code has two buttons that load another webpage when a user clicks them. One uses <a></a> tags and the other one javascript.
I'm trying to make the pages functional when a browser does not support javascript (or the user has disabled it) and therefore prefer the first form. The problem is that IE (v6) does not (seem to) like that form; it displays the url in the statusbar when the mouse is over the button but clicking does not take me there.
Did I miss something? Any solution (except for not using a button)?