Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/03/2010, 12:04
doylelives
 
Fecha de Ingreso: junio-2008
Ubicación: Capital Federal xD
Mensajes: 1.208
Antigüedad: 18 años, 3 meses
Puntos: 35
Respuesta: jquery obtenga elemento recien agregado por ajax

Código PHP:
$.ajax({
    
url: pageUrl,
    
data: queryString,
    
type: "post",
    
dataType: "json",
    
async: false,
    
success: function(data){
       
response = data.response[0];
       if(
response.status == 'true') {
          $(
"#lspAjaxPanel-periodList tr:last").after(response.html); 
La propiedad response.html posee el codigo html de un tr y su respectivo contenido, cada vez que llamo a toda esta función agrega ese tr al final de la tabla.
Pero luego el selector no reconoce al ultimo tr agregado
__________________
I am Doyle please insert code.