Vous êtes sur la page 1sur 1

<html>

<head><title>formulario</title></head>
<body>
<h1 align = "center">multiplicacion</h1>
<form name = "mul">
valor1<input type = "text",name = "val1"><br>
valor2<input type = "text",name = "val2"><br>
resultado<input type = "text",name = "res"><br>
<input type = "button",name = "calc",value = "calcular",one clic = "a()">
<input type = "submit",name = "bor",value = "borrar">
</form>
<script language = "Java Script">
funcion a()
{
var val1;
var val2;
var res;
res=document.mul.val1.value*document.mul.val2;
}
<script>
</body>
</html>

Vous aimerez peut-être aussi