Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/08/2002, 14:22
unKnown
Usuario no validado
 
Fecha de Ingreso: julio-2001
Mensajes: 766
Antigüedad: 23 años, 7 meses
Puntos: 0
Re: sumar value de 2 text

ejemplo practico

por cierto 12.36+12.69 no es 24 o si?

<script language="Javascript" type="text/javascript">
<!--
function chekar(fm)
{
var unos=parseFloat(fm.uno.value)+parseFloat(fm.dos.va lue)
fm.res.value=unos
}
//-->
</script>
<form>
<input name="uno" type="text" value="12.36">
<br>
<input name="dos" type="text" value="12.69">
<br>
<input name="res" type="text" value="Resultado">
<input type="button" onclick="chekar(this.form)" value="ok!">
</form>



<center><hr size="1" width="100%" noshade><a href=javascript:MsgrApp.LaunchIMUI('gpa36@hotmail. com')>
<strong><font face="courier new" color="#666666" size="2">Contact Me?[/CODE]</strong>
<IMG SRC="http://woertman.org:8080/msn/gpa36" border="0"></A></ce