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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple buttons in a form

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
if i had three buttons in a form and one linked to another web page how do i disable the other 2 from going to that link.
 
Please be a little more descriptive. What do the other two buttons do? What function do they serve if what you're trying to do is disable them? Kevin
slanek@ssd.fsi.com
 
Hey there,
you would have to have a seperate OnClick per button, an a Javascript routine to interrogate which button called the routine, redirecting accordingly. But, like Kevin says, we need to know why you need the other two buttons.
Im assuming you want one button to action the cgi routine, and two to perform some ancillary functions on the page. If you want three buttons to action three seperate cgi scripts, thats a lot of mucking about.

Steve Nisbet

Web Admin, DOCMMU
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top