Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/01/2002, 11:53
bet
 
Fecha de Ingreso: febrero-2001
Mensajes: 292
Antigüedad: 23 años, 9 meses
Puntos: 0
Re: duda matematica

<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt; New Document &lt;/title&gt;
&lt;script language=&quot;JavaScript&quot;&gt;
&lt;!--
function multi(){
f1.c3.value = eval(f1.c1.value) * eval(f1.c2.value);
}
//--&gt;
&lt;/script&gt;
&lt;/head&gt;

&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;
&lt;form method=post name=&quot;f1&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;c1&quot; value=&quot;0&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;c2&quot; value=&quot;0&quot;&gt;
&lt;input type=&quot;button&quot; name=&quot;btn&quot; onClick=&quot;multi();&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;c3&quot;&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>

<hr noshade size=1 color="#000000"><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">bet[/CODE]