Ver Mensaje Individual
  #11 (permalink)  
Antiguo 31/05/2007, 14:15
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Re: Problema con Select

Puedes usar esta:
Código:
function selectAllOptions(theSel) {
	for(i=theSel.length-1; i>=0; i--) {
		theSel.options[i].selected = true;
	}
}
La usas asi:
Código:
selectAllOptions( document.getElementById("selDirector") );
Y en tu select lo haces asi:
Código:
<select name="director[]" id="selDirector">