jquery - parse this JSON and create a new div for each object -
i json php script, , i'm @ point code. do, each object, insert response div. for example insert "sentences" div id="sentences" , title div id="title", , prepend, or create new 1 each new response. any tips on how proceed? <script type="text/javascript"> $(document).ready(function() { console.log("warming up..."); $.getjson("response.php", function( data ) { console.log("got json"); (var = 0; < data.length; i++) { var obj = data[i]; console.log(obj.title); } }); }); </script> here json response: { "sentences" : [ "the big irony behind scorched-earth republican offensive against president obama’s health-care law expansion of coverage uninsured benefit house districts represented republicans as represented democrats.", "regardless of other provisions consider harmful, posture unavoidably means house r...