troubleshooting Question

How do I disable a button in frontpage?

Avatar of kimberlys777
kimberlys777Flag for United States of America asked on
JavaScript
3 Comments1 Solution282 ViewsLast Modified:
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

ASKER CERTIFIED SOLUTION
Jagadishwor Dulal
Senior Web Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros