This is so basic it's embarrassing to ask, but I've never used one line of JS before.
I have a select listbox and when client uses it, I wish to refresh a text box conditionally according to the content selected in the listbox. The textbox is on the same form.
e.g.
Listbox option value is "A", Text is "Extreme".
I wish to show "Within 3 hours" in the textbox
Client selects 'Extreme" (or one of five other options) and from the options values I wish to pick appropriate text (from array or 'case' statement) and refresh the textbox.
Clues and samples will be appreciated.
TIA
keijen
I have a select listbox and when client uses it, I wish to refresh a text box conditionally according to the content selected in the listbox. The textbox is on the same form.
e.g.
Listbox option value is "A", Text is "Extreme".
I wish to show "Within 3 hours" in the textbox
Client selects 'Extreme" (or one of five other options) and from the options values I wish to pick appropriate text (from array or 'case' statement) and refresh the textbox.
Clues and samples will be appreciated.
TIA
keijen