Solved

HTML Element disabled property

Posted on 2014-12-05
2
123 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Load data upon clicking a button 8 34
CORS Error from Chrome, but FireFox is OK 1 78
jQuery force form POST 7 43
asp Google Map 2 23
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

791 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