hi all,
I really don't know much about javascripts (I know how to cut an paste them, but not much else).
I have a mail form, which already has plenty of javascript on there for validation.
One of the sections of my form is a dropdown menu. I need an alert box with a message to appear when a specific value is selected:
Here's the dropdown menu:
<SELECT name="lst_fn_9">
<option value="NOT SELECETED" selected>Please Select</option>
<option value="value 1" >Value 1</option>
<option value="Value 2" >Value 2</option>
So say for example somebody selects "value 2", I want an alert window to appear immedialtey on selection.
How would I go about doing this?
many thanks
I really don't know much about javascripts (I know how to cut an paste them, but not much else).
I have a mail form, which already has plenty of javascript on there for validation.
One of the sections of my form is a dropdown menu. I need an alert box with a message to appear when a specific value is selected:
Here's the dropdown menu:
<SELECT name="lst_fn_9">
<option value="NOT SELECETED" selected>Please Select</option>
<option value="value 1" >Value 1</option>
<option value="Value 2" >Value 2</option>
So say for example somebody selects "value 2", I want an alert window to appear immedialtey on selection.
How would I go about doing this?
many thanks