Solved

How to link a button.

Posted on 2002-05-09
3
136 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I show a login page over the login page? 5 59
Compute age Html 2 38
Div not showing up 6 32
html link offset in page with umlaut character in address 5 31
This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

734 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