$.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.
> 

_________________________________________________________________
 25GB of FREE Online Storage – Find out more
http://clk.atdmt.com/UKM/go/134665320/direct/01/

Reply via email to