Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/01/2012, 16:36
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 11 meses
Puntos: 1012
Respuesta: Problemas con desplegable en Firefox y Chrome

por que simplemente no lo pasas "this" a la función??
Cita:
function fnc(f) {
alert(f);
alert(f.sel.value);
return false;
}

<form name="form1" onsubmit="return fnc(this)">
<select name="sel">
<option value="a">a</option>
<option value="b">b</option>
<option value="c">c</option>
</select>
<input type="submit" value="ver" />
</form>
__________________
if(ViolenciaDeGénero) {alert('MUJER ASESINADA');}