473,387 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

grey-out/disabled item in listbox

Hi,

Is there such thing that an item in the listbox is disabled and is
appeared grey-out?

How can I implement this in html/javascript?

Thanks
A
Mar 11 '06 #1
3 4234
acord wrote:
Hi,

Is there such thing that an item in the listbox is disabled and is
appeared grey-out?

How can I implement this in html/javascript?

Thanks
A


You mean an item in a select (there's no such thing in HTML as a "listbox")?

If so, try disabling it

<select....>
<option disabled value="1">One</option>
</select>
Mar 11 '06 #2
TheBagbournes wrote:
acord wrote:
Hi,

Is there such thing that an item in the listbox is disabled and is
appeared grey-out?

How can I implement this in html/javascript?

Thanks
A

You mean an item in a select (there's no such thing in HTML as a
"listbox")?

If so, try disabling it

<select....>
<option disabled value="1">One</option>
</select>

Yup, it works. thanks for your help.
A
Mar 11 '06 #3
TheBagbournes wrote:
acord wrote:
Hi,

Is there such thing that an item in the listbox is disabled and is
appeared grey-out?

How can I implement this in html/javascript?

Thanks
A

You mean an item in a select (there's no such thing in HTML as a
"listbox")?

If so, try disabling it

<select....>
<option disabled value="1">One</option>
</select>

Hi, just found out this is only work with Firefox. How to get this to
work under IE?

Thanks
A
Mar 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Isabelle | last post by:
Hey, How do you feel about using grey text for copy? I love grey for its neutral presence and ability to downplay something and give a clear and crisp look to the overall design of a site but...
3
by: Jacques Chaurette | last post by:
Hello all , thanks in advance for any help. While looking for a solution to how to replace the grey box while an applet loads, a search of Google got me an article by Glenn s. Peffers that claims to...
0
by: Sérgio Almeida | last post by:
Greetings Is it possible to change the color of a combobox (combobox arrow button), instead of grey? If so, how?? Thanks Sérgio
5
by: Peter Verijke | last post by:
Hi, I have a possible framework bug. Sometimes when i call other code by double clikking the datagrid, i get on returning a grey colored cell over the active cell, still showing the old data....
2
by: Jeff Jarrell | last post by:
The thin grey line that goes across the editor to mark off the sub\functions\regions from one another, is there a way to turn it off? I was considering using an underscore for my private member...
10
by: Andrew Kidd | last post by:
I see this when I'm stepping through in the debugger ... just thought I'd ask, and I just know it's going to be one of those "Doh" moments, but it's got me foxed just now.
2
by: SpankyTClown | last post by:
When I set an objects data enabled property, the form displays these objects in grey. Is there any way to change the colour? Thanks
1
by: David J | last post by:
Application does open, to a grey screen, but not access to database. 5mb of data exists, Explorer tells me so. I encountered a similar problem at work with Excel not so long ago, which was...
1
by: joe3dge | last post by:
I tried making a game ing java and it complies fine but when i view it it just shows a grey box with a red x. i looked online and found the this is caused by a bad plug-in but all other applets work...
4
by: marfola | last post by:
I'm trying to implement bottom-to-top vertical text using CSS attributes in IE : writing-mode: tb-rl; filter: flipv fliph; But I have encountered the following: the text is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.