Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable this pulldown 1

Status
Not open for further replies.

OhioSteve

MIS
Mar 12, 2002
1,352
US
I have a pulldown that I want to disable. I would guess that I need to add an attribute to the select element. I tried enabled="false" and it did not work.

<select name="xyz" tabindex="169" enabled="false" size="1">
<option>choice 1</option>
<option>choice 2</option>
<option>choice 3</option>
</select>
 
Try:

Code:
disabled="true"

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
You might also want to try
Code:
disabled="disabled"
to be completely ready and prepared for xhtml support.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top