ro*******@hotmail.com a écrit :
In a web page that has multiple html fields how just using javascript
can you perform a calculation such as multiplying the 3 fields together
and displaying the result in a field on the web page?
<form>
<input name="one"x
<input name="two"x
<input name="three">
<input type=button onclick="total.value=one.value*two.value*three.val ue"
value="=">
<input name="total">
</form>
--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date