Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/11/2007, 11:45
Avatar de Gaby_Corr
Gaby_Corr
 
Fecha de Ingreso: junio-2005
Mensajes: 672
Antigüedad: 19 años, 9 meses
Puntos: 0
Re: duda al pasar variables

bueno mas bien tengo q formar una tabla pero como no se cuantas filas son, osea el numero es variable, entonces hice algo asi, lo cual funciona

Código:
do{
      column = row[de].split("|");
	
 tr = tr + "<tr><td width="+"5%"+">"+column[0]+"</td>"+"<td width="+"13%"+">"+column[1]+"</td>"+"<td width="+"34%"+">"+column[2]+"</td>"+"<td width="+"12%"+">"+column[3]+"</td>"+"<td width="+"12%"+">"+column[4]+"</td>"+"<td width="+"20%"+">"+column[5]+"</td><td width="+"5%"+"><input type="+"image"+" name="+"verDetalle"+" id="+"verDetalle"+" src="+"images/20_VER1.jpg"+" /></td></tr>";	  	  
 	
	 de= de+1;		 
	document.getElementById("historial").innerHTML = "<table border="+"1"+" cellspadding="+"0"+" cellspacing="+"0"+">"+tr+"</table>";
	 
	 }

    while (de < hasta)
	 
             enProceso = false;


pero ahora quiero agregarle una funcion en el onclick de ese ultimo td (verdetalle)
pero lo hice agregandole un alert y no hace nada =(
__________________
" Recuerda , estas donde debes estar ..."