Ver Mensaje Individual
  #10 (permalink)  
Antiguo 10/04/2008, 16:10
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: APORTE: Selects Dependientes con Prototype (AJAX)

Cierto, he agregado la opción para preseleccionar una opción, lo haces así:
Código:
var select = new dependantSelectAJAX( 'id_select', select_que_depende, url );
select.selectOption( "La opcion a pre-elegir" );
// o
select.selectIndex( index_a_elegir );
Saludos.