• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Button as a link

How can I create a button as a link that will take me to a specific page?
0
wariar
Asked:
wariar
  • 2
1 Solution
 
xabiCommented:
Hi there:

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

Xabi
0
 
wariarAuthor Commented:
Thanks! That helps a lot.
0
 
xabiCommented:
From question to answer just 14 minutes :)

xabi
Best regards
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now