have you got firebug?

 

use the inspector to find out what it produces.
 


From: css.mau...@gmail.com
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: getJSON() response into a table
Date: Sat, 21 Mar 2009 15:23:31 -0300




Hi Joseph,
Thanks, but this didn't solve.
Any ideas?
 
Maurício

-----Mensagem Original----- 
De: Joseph Le Brech 
Para: jquery-en@googlegroups.com 
Enviada em: sábado, 21 de março de 2009 13:23
Assunto: [jQuery] Re: getJSON() response into a table

$.getJSON("url", function(json){
 
$(json).each(function(){
   row = $("#table").append("<tr>");
   $(row).append("<td>").html(json.cell1.value);
   $(row).append("<td>").html(json.cell2.value);
});
 
 
});
 
 
 
something like this? 
 
sorry im just coding this blind from my email account.
 
> Date: Sat, 21 Mar 2009 09:09:35 -0700
> From: css.mau...@gmail.com
> To: jquery-en@googlegroups.com
> Subject: [jQuery] getJSON() response into a table
> 
> 
> 
> I'm trying to display data from a json request into a table.
> Table heading disapear when the request finishes and I can't figure out
> how to fix it.
> 
> Test case is hosted at: http://tinyurl.com/couflx
> 
> TIA
> 
> Maurício
> -- 
> View this message in context: 
> http://www.nabble.com/getJSON%28%29-response-into-a-table-tp22637265s27240p22637265.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.
> 



Share your photos with Windows Live Photos – Free. Try it Now! 
_________________________________________________________________
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/

Reply via email to