Ver Mensaje Individual
  #9 (permalink)  
Antiguo 16/03/2011, 06:31
Avatar de avergaf
avergaf
 
Fecha de Ingreso: marzo-2011
Mensajes: 99
Antigüedad: 13 años, 1 mes
Puntos: 0
Respuesta: Rellenar campos de texto a partir de un select a la BD

De donde sale la variable staff_info?
Código:
document.getElementById("staff_info").innerHTML='<table><tr><td rowspan="5"><img height="80px" width="80px" src="'+hidPath+'" /></td></tr><tr><td>&nbsp;</td></tr><tr><td><strong>'+hidNombre+'</strong></td></tr><tr><td>'+hidCargo+'</td></tr><tr><td>'+hidSchool+'</td></tr></table>';
        document.getElementById("staff_info").innerHTML += '<div style="" id="txt_staff">'+hidCV+'<div>';