Solved

Button as a link

Posted on 2000-02-22
3
156 Views
Last Modified: 2010-04-09
How can I create a button as a link that will take me to a specific page?
0
Comment
Question by:wariar
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
xabi earned 50 total points
ID: 2546286
Hi there:

<form><input type="button" value="click here" onclick="location.href='foo.htm'"></form>

Xabi
0
 

Author Comment

by:wariar
ID: 2546317
Thanks! That helps a lot.
0
 
LVL 8

Expert Comment

by:xabi
ID: 2546451
From question to answer just 14 minutes :)

xabi
Best regards
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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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).

920 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

14 Experts available now in Live!

Get 1:1 Help Now