473,395 Members | 1,677 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,395 software developers and data experts.

Gray out fields with pulldown menu

I have a pulldown menu that contains five options, and ten input fields. Depending on which option is selected, the field(s) will either be enabled or disabled.

I am able to use javascript to do this with radio buttons, but I do not know how to do it with the pulldowns.

I am new to javascript and trying to learn as I go along.

Any help would be greatly appreciated.

Thanks
Dec 20 '06 #1
1 1674
r035198x
13,262 8TB
I have a pulldown menu that contains five options, and ten input fields. Depending on which option is selected, the field(s) will either be enabled or disabled.

I am able to use javascript to do this with radio buttons, but I do not know how to do it with the pulldowns.

I am new to javascript and trying to learn as I go along.

Any help would be greatly appreciated.

Thanks
For the select boxes use the onchange event and call the function that does the disabling.
I will move this to the javascript forum.
Dec 21 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Marc de Winter | last post by:
Hello all, I'm new to this newsgroup and have tried to search through the archives first, before posting this question. I don't think it has been addressed before. Also, this question is about a...
9
by: flarkblark | last post by:
I recently had the displeasure of looking at the code required to implement the pop-up menus used in a pulldown menu system for a webpage. The sheer amount of Javascript required was amazing...
7
by: jhomp ssens | last post by:
I would like to create a pulldown menu which is semi-transparent....that is, you can see the text and graphics behind it when it is pulled down. The effect I'm looking for can be seen at...
2
by: nsteele84 | last post by:
Hi I need to clear the contents of a pulldown and then load new contents into it. Is this possible in Javascript? If so how? Thanks Nick Steele
2
by: Simon Wigzell | last post by:
Is it possible within javascript to stop the little pulldown menu (with the values that the browser remembers have previously been entered into the field) from appearing? I have one very dense form...
1
by: George Medlock | last post by:
One of the items in the help pulldown menu is a website address. How do I create a hyperlink to the menu item? Thanks
1
by: leicklda | last post by:
Hi there, I'm very novice to web design. I'm trying to make a pulldown menu, but the formatting keeps getting screwed up when you roll the mouse over it. Please see www.boundarysys.com for...
2
by: Reinhold Schrecker | last post by:
Hi, I am trying to generate a pulldown-menu with JavaScript/DOM: The following Code works fine with Opera an Mozilla but in the IE the width of the select element is too short: ...
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...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.