![]() Topic awaiting preservation: Drop-down form field - select - new field appears (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() Hi, |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
![]() |
Bipolar (III) Inmate From: Berlin (almost) |
![]() Hi there code: function checkOption() {
code: <select name="dropDownMenu" onchange="checkOption();">
|
Maniac (V) Inmate From: under the bed |
![]() |
Obsessive-Compulsive (I) Inmate From: |
![]() THANKS SO MUCH. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Try the line |
Obsessive-Compulsive (I) Inmate From: |
![]() THANKS 'Slime'. |
Bipolar (III) Inmate From: Berlin (almost) |
![]() Sure, that's possible as well - just put this line of CSS into the <head> area: code: <style type="text/css">
|
Obsessive-Compulsive (I) Inmate From: |
![]() Thanks once again. Works perfectly. |
Bipolar (III) Inmate From: Berlin (almost) |
![]() No worries - it's good to see that the code is of use to you (and maybe even some others in the long run code: onfocus="this.value='';"
|
Obsessive-Compulsive (I) Inmate From: |
![]() Once again, |
Obsessive-Compulsive (I) Inmate From: |
![]() Hi all, |
Bipolar (III) Inmate From: Berlin (almost) |
![]() You should be able to this the same way as you are showing/hiding the input fields - try enclosing the text in the cell with another <div>, but use a different ID this time. After adding this new ID to your CSS declarations ("display: none;" again) you can expand the JavaScript to show and hide both <div>s by repeating the lines you have for the if and else conditions. Just replace "additionalFields" with the new ID: code: if (document.forms[0].dropDownMenu.value==4) {
|
Obsessive-Compulsive (I) Inmate From: |
![]() THANKS very much!! |