html - adding strings in javascript -
i working on creating page using html , javascript. have json file proves inputs of contents need. im trying have address variable setup google map api can displayed on page. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>google maps javascript api v3 example: geocoding simple</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> var geocoder; var map; var address = cmpyjson[jobcmpyid].company_name+" company, "+locjson[joblocid].location_name; function initialize() { geocoder = new google.maps.geocoder(); var latlng = new google.maps.latlng(-34.397, 150.644); var myoptions = { zoom: 11, center: latlng, maptypecontrol: true