But when you type the zip, you are not typing anything, how do I retrieve the zipped zip in a $ post variable? and in the calculate button I wanted to redirect to calculo.php, something similar to this:
<input name="postok" type="button" id="postok" value="Calcular" onClick="calculoFrete();">
Can anyone help?
Here is the code:
echo'<form action="" method="post">';
echo'<tr><td colspan = "4" bgcolor = "ffffff"></td align = "center"><h4>Tipo de Entrega <select id = "tipo" name = "tipo" title = "Servicos dos Correios" class = "select" tabindex = "1"></h4><option value = "PAC" style = "font-size: 25px;">PAC</option><option value = "SEDEX" style = "font-size: 25px;">SEDEX</option>
</select><br />Informe aqui o Cep para calcular o frete:<input name="cepDestino" style = "font-size: 18px;" autocomplete = "off" type="text" id="cepDestino"><br /><td>';
echo'</td><input type = "submit" id = "pesquisar" name ="pesquisar" style = "font-size: 18px;" autocomplete = "off" tabindex = "2" class="button" value = "calcular"/></form></td';
echo '<tr>';