<form name="form">
<p>A</p>
<select name='a' onchange='document.forms.form.elements.b.value = document.forms.form.elements.a.value ' >
<option value='1'>один</option>
<option value='2'>два</option>
<option value='3'>три</option>
</select>
<p>B</p>
<input name="b" type="text" />
<p>C</p>
<input type="text" id="c" name="c" onkeyup="document.forms.form.elements.e.value = (parseFloat(this.value)||0)
*(parseFloat(document.getElementById('d').value)||0)">
<p>D</p>
<input type="text" id="d" name="h" onkeyup="document.forms.form.elements.e.value = (parseFloat(this.value)||0)
* (parseFloat(document.getElementById('c').value)||0)">
<p>E</p>
<input id="e" name="e" type="text" />
<p>Как получить результат умножения b и e</p>
<input id="result" name="result" type="text" />
</form> |