Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/11/2008, 09:17
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
Respuesta: como obtener la etiqueta de un <select> generado con ajax y asp?

Código:
var fBusquedaSelect = document.getElementById('fbusqueda');
var selectedOption = fBusquedaSelect.options[fBusquedaSelect.selectedIndex];
alert( "valor: " + selectedOption.value + " etiqueta: " + selectedOption.label );
Saludos.

Tema trasladado a Javascript.