yeshuadesign

calcula_frete.php

Aug 26th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="pt-br">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8. <title>Calculando Frete dos Correios</title>
  9.  
  10. <!-- Bootstrap -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12.  
  13.  
  14. </head>
  15. <body>
  16.  
  17. <form>
  18. Cep destino = <input id="cep_destino" type="text" value="" maxlength="8"/> <br><br>
  19.  
  20. Valor do Produto = <input id="valor_pro" type="text" value="22,20"/> <br><br>
  21.  
  22. <label>
  23. <span>Escolha a forma de envio</span>
  24. <select id="codigo" name="tipo_frete">
  25. <option value="">Selecione...</option>
  26. <option value="pac">PAC</option>
  27. <option value="sedex">SEDEX</option>
  28. </select>
  29. </label>
  30.  
  31. Valor do Frete = <input id="valor_frete" type="text" value=""/> <br><br>
  32.  
  33.  
  34. Valor do Prod + Frete = <input id="valor_prodfrete" type="text" value=""/> <br><br>
  35.  
  36. <button type="button" onclick="LoadFrete();">Calcular Frete</button>
  37.  
  38. </form>
  39.  
  40.  
  41.  
  42. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  43. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  44. <!-- Include all compiled plugins (below), or include individual files as needed -->
  45. <script src="js/bootstrap.min.js"></script>
  46. <script src="js/frete.js"></script>
  47. </body>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment