When I run this code I get the following error
error:
invalid label
"html_attributions" : [ --------json?l...4845749 (line 2)
and nothing gets displayed.What changes I have to make in order to get this right and where am I going wrong?
this is my java script:
$('#goButton').click(function(){$.getJSON("
https://maps.googleapis.com/maps/api/place/search/json?location=-33.8670522,151.1957362&radius=500&types="+$('#Company').val()+"&name=harbour&sensor=false&key=AIzaSyC1BIAzM34uk6SLY40s-nmXMivPJDfWgTc&callback=?",function (data){$('#Placeholder').html("");$('#Placeholder').append(
Company name:
" + data.name + "
");$('#Placeholder').append("
page:
" + data.types + "
");$('#Placeholder').append("
Likes:
" + data.vicinity + "
"); });});
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)