At the suggestion of people in the Windows XP Forum, I am re-posting this in this forum.
I am getting an error when my pages load. The error is unterminated string constant . It is saying "Line: 78 - Char:25 . But there isn't any character "25" on that line (line 78 is the last the line of the code below with </script> after the call to the external Javascript.
Here is the code:
The variable myvar1 is being passed to the external Javascript.
Everything works properly despite the error message.
But it doesn't look nice (nor professsional) to visitors to see the "Done with errors" message and symbol.
So what is wrong here? And where is it wrong - in this code, in the external javascript code?
Thanks
I am getting an error when my pages load. The error is unterminated string constant . It is saying "Line: 78 - Char:25 . But there isn't any character "25" on that line (line 78 is the last the line of the code below with </script> after the call to the external Javascript.
Here is the code:
Code:
<script type="text/JavaScript">
myvar1="/mypageA.html"
</script>
<script src="jscript/Menu01.js" type="text/JavaScript">
</script>
The variable myvar1 is being passed to the external Javascript.
Everything works properly despite the error message.
But it doesn't look nice (nor professsional) to visitors to see the "Done with errors" message and symbol.
So what is wrong here? And where is it wrong - in this code, in the external javascript code?
Thanks