Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/07/2004, 11:04
jonma29
 
Fecha de Ingreso: junio-2004
Mensajes: 31
Antigüedad: 19 años, 11 meses
Puntos: 0
o.k perdon no grito mas jejej. y ya yo puse el AUTOPOSTBACK a TRUE y no me hace nada, no se como hacer.

diapueen, aqui tienes el codigo:

<script language="javascript">
function doSelectChange(el,dest){
dest.value = el.options[el.selectedIndex].text
}
function lookupItem(el,dest){
var curValue = el.value.toLowerCase()
var found = false;
var index = dest.selectedIndex;
var numOptions = dest.options.length;
var pos = 0;
// Repeat until found or end of list is reached
while ((!found) && (pos < numOptions)) {
// Do comparisons in lowercase
found = (dest.options[pos].text.toLowerCase().indexOf(curValue)==0)
if (found)
index = pos;
pos++;
}
if (found) // Updated listbox
dest.selectedIndex = index;
}

function goValue(el) {
var where;
if (el.selectedIndex > -1) {
// Make sure there is a selection
where = el.options[el.selectedIndex].value;
window.open(where)
}
}


</script>

espero te sirva...