Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/03/2017, 09:28
Avatar de petit89
petit89
 
Fecha de Ingreso: marzo-2011
Mensajes: 1.135
Antigüedad: 13 años, 2 meses
Puntos: 170
Respuesta: Configurar form select con href?

puedes hacerlo con javascript... no necesitas cargar jQuery, te dejo el ejemplo automatico(evento OnChange) si quieres que se active con el submit pues sera de hacer la modificación que no es dificil..
Código HTML:
Ver original
  1. <select id="nav">
  2.      <option value="http://www.google.com">Google</option>
  3.      <option value="http://www.ebay.com">eBay</option>
  4.      <option value="http://www.amazon.com">Amazon</option>

Código Javascript:
Ver original
  1. document.getElementById("nav").addEventListener('change', function () {
  2.     window.location = this.value;
  3. }, false);&#8203;

saludos
__________________
█ WebHosting / Reseller a bajo costo | Uptime Garantizado | Soporte en Español e Ingles
¿Te sirvió la respuesta? Deja un +1 (Triangulo negro al lado derecho)