PDA

View Full Version : link for button


gcapp
02-03-2003, 08:21 PM
Ok, this is probably easy but I'm not doing something right. Hopefully someone can follow this.

I have a start page, call it Page 1. On Page 1 there is a link that produces a pop-up window and call it Page 2. On Page 2 I have a button there and I want it so when you click the button, Page 3 appears in the same window that Page 2 does. I have some thing wrong in the code below and if someone could help I would appreciate it.

<form>
<input type="button" value="Proceed To Map Disclaimer"
onclick="('http://www.cattco.org/real-property/disclaimer.htm')">
</form>

This does not work. When I click the button nothing happens.

Help!!
Gary

cg9com
02-03-2003, 08:38 PM
onclick="location.href='http://www.site.com'"