Parse error: syntax error, unexpected T_STRING in .js line 42
hey guys I get this error
there is the line 42
document.writeln('<?import namespace="' + this.ns + '" implementation="#default#VML" ?>');
First of all, it looks like the JS page is being built dynamically. The <? ... ?> tags are probably being processed by a compiler if it is set up that way. That doesn't look like an error you would get in a browser console, but since you did not provide any other useful information I am just speculating.
If that .js file is in fact being built in PHP then you need to change the + to .
Otherwise, without useful information I cannot help. Give more detail bud.
you can find out the full script here
Originally Posted by ScottAN
Well, the server thinks (I imagine), that you have PHP or some other server-side language embedded there, and is trying to parse that. So you'll have to change your server settings so that all files aren't being parsed.
<?import namespace="DD_roundies" implementation="#default#VML" ?>
There's probably another solution to deal with this specific file, but without knowing the precise details of your set-up, I don't know enough to say what it is.
Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread