We help IT Professionals succeed at work.
Get Started

How do I disable a button in frontpage?

kimberlys777 asked
Last Modified: 2012-05-11
I have a hyperlinked button on a form in frontpage.  I want it to be hidden or disabled until a checkbox is selected.  I want it to function like the pages where you have to agree to some terms and conditions before you're able to click on another button.  The code for the button is attached (the checkbox hasn't been made yet)  My code is attached
<a href=www.mypage.com>
     <img border="0" id="img1" src="button2.jpg" height="20" width="80" alt="YES"  onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'button3.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button2.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'button4.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'button3.jpg')" fp-style="fp-btn: Glow Rectangle 8; fp-proportional: 0" fp-title="YES"></a>

Open in new window

Watch Question
Senior Web Developer
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE