Checkbox & Select

admin

Administrator
Staff member
Sir/Ma'am,
Is there a way in javascript, everytime i clicked a checkbox & select one of the option in select will automatically compute the value.How can I do that?

ex.

<select>
<option value=http://www.webdeveloper.com/forum/archive/index.php/1>1</option>
<option value=2>2</option>
<option value=3>3</option>
</select>

<input type="text" name="ex1" readonly> //here the output will goes here

<input type="checkbox" value="101" id="chk1" name="chk1" >101
<input type="checkbox" value="102" id="chk2" name="chk2">102

Thank you in advance..
 
Back
Top