
27/08/2009, 13:15
|
| | Fecha de Ingreso: diciembre-2008
Mensajes: 198
Antigüedad: 16 años, 3 meses Puntos: 1 | |
Respuesta: drop down list esta es una parte del codigo que creo tiene que ver con eso:
function gotoUrl(url) {
if (url == "")
return;
location.href = url;
}
function newWin(url) {
// url of this function should have the format: "target,URL".
if (url == "")
return;
window.open(url.substring(url.indexOf(",") + 1, url.length),
url.substring(0, url.indexOf(",")));
}
function fnOnChange(){
gotoUrl(selector.options[selector.selectedIndex].value);
return true;
}
var selector = (document.getElementById)? document.getElementById("formselect1") : document.all.formselect1;
selector.onchange=fnOnChange;
</script></div> |