Solved

HTML Element disabled property

Posted on 2014-12-05
2
122 Views
Last Modified: 2014-12-05
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
Comment
Question by:Richard Korts
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40483497
disabled is just disabled - there is no true or false

If you don't want it disable then remove the attribute.
0
 

Author Closing Comment

by:Richard Korts
ID: 40483551
Thanks, Gary!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question