Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 132
  • Last Modified:

HTML Element disabled property

This code:


            <td colspan="2" align="left">First Hour:&nbsp;<input type="checkbox" name="fh"  checked  onchange="fh_chkd();"><img src="images/spacer.gif" width="50" height="5"><select name="fhrate" disabled=false >

Does not work. The select element is disabled. I know there is a trick to disabled, I just cant remember.

What is the correct code?
0
Richard Korts
Asked:
Richard Korts
1 Solution
 
GaryCommented:
disabled is just disabled - there is no true or false

If you don't want it disable then remove the attribute.
0
 
Richard KortsAuthor Commented:
Thanks, Gary!
0

Featured Post

Technology Partners: 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!

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