OK, hang on, do you mean for you to click a button, and Internet Explorer suddenly pops up?
Printable View
OK, hang on, do you mean for you to click a button, and Internet Explorer suddenly pops up?
no, I just wanted a button on a web page that the user can use to return to the main page. I could always use a link, but I use buttons for a ton of other stuff and just wanted to have a consistent feel
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html"
}
Oh and..
Roll Tide
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html";
return true;
}
Oh and..
Roll Tide
add this attribute to you button tag:
onclick="return go()"
and now this javascript
function go()
{
location.href "http://blah/link.html";
return true;
}
Oh and..
Roll Tide
this also works:
Code:<FORM METHOD="LINK" ACTION="mainpage.html">
<INPUT TYPE="submit" VALUE="click">
</FORM>
thanks guys, I will try these
and Cander -
ROOOOOOOOOOOOOOOOOOLLLLLLL TIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDE!