This is a simple one, I know, but I'm having a mind freeze.
I have a form with 4 buttons (type=button). If I click on 1, I go to here.html, if I click on 2, I want to go to there.html ... and so on.
thanks in advance
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div><input type="submit" value="1"></div>
<div><input type="submit" value="2"></div>
<div><input type="submit" value="3"></div>
... onClick="window.location='here.html'" ...
Originally posted by Charles
Good point. But it would have come off better without the arrogant attitude.
What a spirited discussion. Thank you to all. Gil Davis with onClick="window.location='here.html'" worked well.
I'm trying to implement the cursor changing to the wait(hourglass) cursor on click of the update button while the next page is loading. I can get the hourglass to change on click - from Zachs code in html - but how do I get it to change back to the regular cursor when the new page loads or when the user returns to the other page?
Here is the code for the button click.
<input type = "button" name="Update" value="Update" onclick="UpdateObject(this.form)">
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)