Click to See Complete Forum and Search --> : EventHandler OnSubmit()


mike@spb
August 19th, 2002, 03:22 PM
I am new to javascript and was wondering how and where to add an event handler, OnSelect(), to an option box. Here is what I currently have


<html>
<head>

<SCRIPT LANGUAGE="JavaScript1.2">
function BitRate(){
document.write(<td><Input Tytpe="text" name="BitRate")
}
</SCRIPT>

</head>
<table>
<tr>
<td>
<select name="BitRate">
<option selected value=""></option
<option value="28">28</option>
<option value="56">56</option>
<option value="128'>128</option>
<option value="300">300</option>
<option value=''">Other</option>
</select>
</tr>
</table>


What I want to be able to do is when the user selects "Other" in the option box, another <td> will appear showing a textbox which the user can then enter the bit rate.

Thanks

Mike@spb

mike@spb
August 19th, 2002, 03:25 PM
The title was incorrect in the previous post