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 Chriss Miller 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
Joined
Sep 8, 2001
Messages
136
Location
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..?

/
 
put a submit button in a form with the action set to the url required.

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
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