Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/07/2013, 12:45
lramirez
 
Fecha de Ingreso: febrero-2013
Mensajes: 66
Antigüedad: 11 años, 2 meses
Puntos: 1
Respuesta: como realizar sumas

ok lo he echo de esta manera


Código HTML:
Ver original
  1. </head>
  2.  
  3. <form id="form1" name="form1" method="post" action="">
  4.   <table width="440" border="1">
  5.     <tr>
  6.       <td width="78">producto</td>
  7.       <td width="73"> entrada</td>
  8.       <td width="112">total</td>
  9.     </tr>
  10.     <tr>
  11.       <td><label for="cantidad"></label>
  12.       <input type="text" name="cantidad" id="cantidad" /></td>
  13.       <td><label for="suma"></label>
  14.       <input type="text" name="suma" id="suma" /></td>
  15.       <td><label for="total"></label>
  16.       <input type="text" name="total" id="total" /></td>
  17.     </tr>
  18.     <tr>
  19.       <td>&nbsp;</td>
  20.       <td>&nbsp;</td>
  21.       <td><input type="submit" name="button" id="button" value="Enviar" /></td>
  22.     </tr>
  23.   </table>
  24. </form>
  25. </body>
  26. </html>