$.getJSON(my_url, function(data) { $(document).ready(function(){ $('<p>').text(data.some_text).appendTo('#some_container); }); });