I have a form with a select field and a div i wish to update with a value depending on what the user selects.
Example:
<select name="mysel" id="msel">
<option value="test1">Test1</option>
<option value="test2">Test2</option>
<option value="test3">Test3</option>
</select>
<div id="myresult"></div>
I would like the div to update with "This is test 2 and other info" if the user selects test2 and so on.
Any help on this would be greatly appreciated.