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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select 3

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
Is there a way to have a select grey out and not selectable?

[conehead]
 
Or at design-time: <select name="s" disabled>

Adam

for(ring=0;ring<rosie;ring++){pocket[ring]='posie';ashes*=2;fall--}
 
If you mean one specific item in the pulldown, then the answer would be no, not directly.

-however-

At design time you could do something like this:
(or possibly dynamically by using createNode DOM methods, but I haven't tested that)
Code:
<body>
<form name=blahForm>
<select name=blah>
<option value="1">One</option>
<optgroup label="Two"></optgroup>
<option value="3">Three</option>
</select>
</form>
</body>

-kaht

...looks like you don't have a job, so why don't you get out there and feed Tina.
headbang.gif
[rockband]
headbang.gif
 
man.... I'm just getting no love today.

-kaht

...looks like you don't have a job, so why don't you get out there and feed Tina.
headbang.gif
[rockband]
headbang.gif
 
I didn't star ya because that was not what I was asking - can't expect a star for just replying... someone threw ya a bone, though...

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top