Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refering?

Status
Not open for further replies.

adamsoderqvist

Programmer
Sep 8, 2001
136
SE
Hi y'all, I know this is an easy one, but I just don't get it:

I wanna press a button (yes, a simple html-button) and get passed to another html/asp page. I've tried this:

<input type=button OnClick=href='mypage.html'>

and:

OnClick=<%=Response.Redirect 'Mypage.asp'%>

but it doesn't work!

Could anyone be of guidence..?

/
 
or:
<input type=button OnClick="location.href='mypage.html'">



Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top