Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to link a button.

Posted on 2002-05-09
3
Medium Priority
?
138 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 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

721 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