Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Buttons as hyperlinks

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
This seems like it would be very simple; how do I get a command button to act as a hyperlink? I have tried the following:

<input type=&quot;button&quot; onclick=&quot;
and

<form action=&quot;<input type=&quot;submit&quot; value=&quot;Go&quot;>
</form>

I know this can't be too hard.
 
try:

onclick='document.location=&quot;
The location object holds the current URl, so if we change it, then the new page is displayed. -BB &quot;Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top