Solved

How to link a button.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

708 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

16 Experts available now in Live!

Get 1:1 Help Now