<html>
<body>
<html>
<head>
<title>-</title>
<script language="javascript">
function Calcular(){
if (document.frm.v1.value == "")
{ var v1 = 0; }
else
{ var v1 = document.frm.v1.value; }
.
.
.
.
.
.
var P1=parseFloat(document.frm.v1.value);
var P2=parseFloat(document.frm.v2.value);
var P3 =parseFloat(document.frm.v3.value);
document.frm.total.value=P1+P2+ P3;
}
</script>
</head>
<body>
<form name="frm">
<input type="text" name="v1" value><BR>
<input type="text" name="v2"><BR>
<input type="text" name="v3"><BR><BR>
<input type="text" name="total" onClick="Calcular()"><BR>
</form>
</body>
</html>Se me pudessem ajudar agradecia










