Hello everyone. So I am trying to show x amount of images from google using the following code, but it keeps returning invalid label. Does anyone have any ideas? thanks in advance for your help.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<div id="google_images"></div>
<script type="text/javascript">
$(document).ready(function(){
var iURL = "http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=kufa+castro&format=json&jsoncallback=?";
$.getJSON(iURL,function(json) {
$(json).each(function() {
$.each(json.results, function(i,item)
{
//$("#google_images").append(item.unescapedUrl);
$('#google_images').html();
});
});
});
});