conan318 Posted August 4, 2012 Share Posted August 4, 2012 the problem is with the feed function. the error from the console is SyntaxError: missing ) after argument list [break On This Error] feed(Singleton Visitor Information Centre) is the problem with the white spaces in the feed argument? marker.openInfoWindowHtml(style + '<a href='+ web.nodeValue +' >'+ name.nodeValue +'<\/a> <br> <a href="javascript:feed('+name.nodeValue+')"> Leave Feedback<\/a><br><hr><a href="http://www.cvisinko.cessnock-ict"><img src="images/conan2.png" style="position: absolute;margin-top: -2px; margin-left: -15px;"></a><p style="margin-left:70px;"><br> </p>'); Quote Link to comment https://forums.phpfreaks.com/topic/266673-syntax-help/ Share on other sites More sharing options...
Adam Posted August 6, 2012 Share Posted August 6, 2012 Looks fine to me. The syntax error probably starts a few lines before, but only triggers the error there. Quote Link to comment https://forums.phpfreaks.com/topic/266673-syntax-help/#findComment-1367144 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.