JS file handled differently than in-line script block

B

bas jaburg

Hello,

I have a funny problem:

When I put the following script-block in a an aspx page it goes fine:

<script>
var AccentSymbol=["Á"];
</script>

However, if i put this line of code in a JS-script file and include
that file in my page like this:

<script src=myscript.js></script>

I get the following error:

Unterminated string constant


This happens only when it's an ASPX page and only in IE!


Any suggestions?

Help greatly appreciated.

Bas Jaburg
(e-mail address removed)
www.jaburg.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top