我收到以下错误.
SyntaxError: missing } after property list
content:Al futaim,trading company
<br />
Building M,36,Saih Shuaib 3
—
$content=$servicecenter->getCompanyName()."<br />".$servicecenter->getAddress()."<br /><button type='button' value='Get Direction' class='button' onclick='closeInfoWindow(),calcRoute()' name='Get Direction'>Get Direction</button>";
脚本
var infowindow = new google.maps.InfoWindow({ content:<?PHP echo $content; ?>; });