<script> parent.location = "index.html"; </script>
coloca esse código na página que exibe a confirmação de voto, a página que aparece depois que o usuário dá ENTER.
Henderson hasn't added any friends yet.
15/08/2011, 15:53
<script> parent.location = "index.html"; </script>
15/08/2011, 15:48
/* Busca do primeiro para o segundo select */ function list_dados( valor ) { http.open("GET", "categorias_busca.php?id=" + valor, true); http.onreadystatechange = handleHttpResponse1; http.send(null); } function handleHttpResponse1() { campo_select = document.forms[0].subcategoria; if (http.readyState == 4) { campo_select.options.length = 0; results = http.responseText.split(","); for( i = 0; i < results.length; i++ ) { string = results[i].split( "|" ); campo_select.options[i] = new Option( string[0], string[1] ); } } } function handleHttpResponse2() { campo_select2 = document.forms[0].categoriafinal; if (http.readyState == 4) { campo_select2.options.length = 0; results2 = http.responseText.split(","); for( i = 0; i < results2.length; i++ ) { string2 = results2[i].split( "|" ); campo_select2.options[i] = new Option( string2[0], string2[1] ); } } } function getHTTPObject() { var req; try { if (window.XMLHttpRequest) { req = new XMLHttpRequest(); if (req.readyState == null) { req.readyState = 1; req.addEventListener("load", function () { req.readyState = 4; if (typeof req.onreadystatechange == "function") req.onreadystatechange(); }, false); } return req; } if (window.ActiveXObject) { var prefixes = ["MSXML2", "Microsoft", "MSXML", "MSXML3"]; for (var i = 0; i < prefixes.length; i++) { try { req = new ActiveXObject(prefixes[i] + ".XmlHttp"); return req; } catch (ex) {}; } } } catch (ex) {} alert("XmlHttp Objects not supported by client browser"); } var http = getHTTPObject(); // Logo após fazer a verificação, é chamada a função e passada // o valor à variável global http. /* Busca do segundo para o terceiro select */ function list_dados2( valor ) { http.open("GET", "categorias_busca_sub.php?id=" + valor, true); http.onreadystatechange = handleHttpResponse2; http.send(null); }
15/08/2011, 15:38
15/08/2011, 15:36
15/08/2011, 15:33
<form action="carrinho.php?cod=".$cod."&acao=incluir'"> <label for="codBar">Passe o leitor pelo código de barras <input type="text" id="codBar" name="cod" /> </label> <button type="submit">OK </button> </form>por isso
<form action="carrinho.php" method="get"> <label for="codBar">Passe o leitor pelo código de barras <input type="text" id="codBar" name="cod" /> </label> <input type="hidden" id="acaoHidden" name="acaoHidden" value="incluir" /> <button type="submit">OK </button> </form>
Community Forum Software by IP.Board
Licensed to: Webmasters Online