floodster
10-30-2006, 03:33 PM
Hi,
I have a web page written in ASP. I have a form & on it there is a dropdown box which allows the user to select a time frequency (year, month etc). I then have 4 input boxes:
input1 STARTA
input2 STARTB
input3 ENDA
input4 END b
that I need completing BUT depending on what the user selects in the dropdown box determines which input boxes become active.
For example, if the user selects the frequency of year I only want input1 & input 3 to be shown / active. This would allow the user to enter '2006' into input1, I could then automatically calculate the value for input2.
I've done a bit of 'googling' & the 'getElement' code keeps cropping up but I've no idea how to use it!?!?!?
Any help would be much appreciated.
I have a web page written in ASP. I have a form & on it there is a dropdown box which allows the user to select a time frequency (year, month etc). I then have 4 input boxes:
input1 STARTA
input2 STARTB
input3 ENDA
input4 END b
that I need completing BUT depending on what the user selects in the dropdown box determines which input boxes become active.
For example, if the user selects the frequency of year I only want input1 & input 3 to be shown / active. This would allow the user to enter '2006' into input1, I could then automatically calculate the value for input2.
I've done a bit of 'googling' & the 'getElement' code keeps cropping up but I've no idea how to use it!?!?!?
Any help would be much appreciated.