Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/07/2005, 07:58
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
se me ocurre que podrias poner algo asi:

Código:
 
<script language="javascript">
function IrPruebas() {
var d = document.all;
var total_chk = d.scroll.length;
var all_chk_values = "";
if (total_chk != null) {
for (i=0; i<total_chk; i++) {
if (d.scroll[i].checked == true) {
	all_chk_values += d.scroll[i].value + ",";
}
}
} else {
all_chk_values = d.scroll.value;
}
 
if (all_chk_values != "") all_chk_values = "?chk_values=" + all_chk_values;
 
self.location.href = "pruebas.asp" + all_chk_values;
}
</script>
luego, en pruebas.asp haces el request de la variable "chk_values".
te quedaría algo como esto: chk_values=4,5,9,12
lo que no c como vas a trabajar eso despues.. .

espero t sirva d algo...

saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.