Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to link a button.

Posted on 2002-05-09
3
Medium Priority
?
139 Views
Last Modified: 2010-04-09
How do I Link a button to an ASP page, i.e. if I click on the button then I want to call an ASP page. I DON't want it to open in a new window.

Thanks

Hannes
0
Comment
Question by:hannes1
  • 3
3 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6998712
<input type="button" value="getpage" onClick="location=yourpage.asp">
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 200 total points
ID: 6998718
Ooops I messed up the quotes.  It should be:

<input type="button" value="getpage" onClick="location='yourpage.asp'">

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6998908
Glad I could help.  Thanks for the A. :^)

Cd&
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question