jcramalho

Formulário para o somador de N operandos

Nov 17th, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.19 KB | None | 0 0
  1. <!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <title>Soma de N inteiros</title>
  5.         <script type="application/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  6.         <script type="application/javascript" src="somador.js"></script>
  7.     </head>
  8.     <body>
  9.         <h1>
  10.             Soma de N inteiros
  11.             <input type="button" id="adicionar" value="+" />
  12.             <input type="button" id="remover" value="-" />
  13.         </h1>
  14.         <form action="soman.php" method="post" id="somador">
  15.             <fieldset id="operandos">
  16.                 <legend>Operandos</legend>
  17.                 <div id="o1">
  18.                     <label for="op1">Op1: </label>
  19.                     <input id="op1" type="text" name="op1" size="4" />
  20.                 </div>
  21.                 <div id="o2">
  22.                     <label for="op2">Op2: </label>
  23.                     <input id="op2" type="text" name="op2" size="4" />
  24.                 </div>      
  25.             </fieldset>
  26.             <input type="button" id="enviar" value="Enviar" />
  27.         </form>
  28.     </body>
  29. </html>
Advertisement
Add Comment
Please, Sign In to add comment