/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- Redirige a una página de búsqueda --> <form action="" id="searchform" onsubmit="location.href='http://www.dominio.com/buscar/index.php?q=' + this.elements.keywords.value; return false;"> <input type="text" name="keywords" value=""> <input title="buscar" alt="buscar" src="images/search-icon.gif" type="image" onclick="document.forms['searchform'].submit();"> </form>