|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi all,
I'm new here, and new to JavaScript. I apologise now for my lack of knowledge in JavaScript, but i am trying everything i can to learn, i need to as i would like to refine a form i am designing for work. We use a Form creation application that has been desgined in Notes, makes it easy for us novices, but it also has advanced features (such as the ability to add custom javascript) for advanced functionality. What i need to do is firslty onLoad, is hide 4 dropdown boxes i have created, they all have identifyers; regional_local housing_local cru_local other_local then, based on a radio button selection, display the appropriate dropdown. The radio button is defined as local_type, and has options: regional location housing location cru location other I hope i have provided sufficient info, and any advise is greatly appreciated. Thanks. Chris |
|
#2
|
||||
|
||||
|
The main thing you will need to learn for this task is DHTML. There are a lot of tutorials on the net that will show you how to do this. You will need to google for dhtml, javascript, forms, radio, etc.
E.g. http://developer.netscape.com/views...dman_forms.html |
|
#3
|
|||
|
|||
|
Thanks for the reply stumpy. There's definitely plenty of info on the net that i've looked at, but i haven't been able to find anything that quite explains it clearly, or works in my environment.
Am hoping to get further examples here of how to code it. Can anybody provide some examples?? Thanks. |
|
#4
|
|||
|
|||
|
Hi there
I've managed to work out how to hide the dropdown boxes using the getElementById command, the problem with this is, it is only hiding the dropdown field itself and not the label etc. How would i go about hiding the whole lot? Thanks. |
|
#5
|
|||
|
|||
|
Can anybody please advise how i can go about making a dropdown list an text "input"
Field rather than a "select", based on a previous dropdown selection? Is this possible? Thanks. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Using Jscript to hide/show dropdown boxes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|