Solved

How to link a button.

Posted on 2002-05-09
3
133 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now