NewbiDoobie
Technical User
I have this little bit of code that is throwing me for a loop.
I looked up what the error said, but do not see where this has not been terminated. If I take this code out, the page works fine.
If I leave it in I get:
Line 100
Char 25
Error: unterminated string constant
Code 0
If I take out the javascript I still get the error, but if I take out the whole section I do not
<span id="browsertest1" style="position:relative"> Testing Your Browser...</span>
<!--<script language="JavaScript">
var temp1 = "browsertest1";
var temp2 = "Testing Your Browser...Failed";
setTimeout("ChangeText(temp1, temp2)",5000);
</script>-->
I looked up what the error said, but do not see where this has not been terminated. If I take this code out, the page works fine.
If I leave it in I get:
Line 100
Char 25
Error: unterminated string constant
Code 0
If I take out the javascript I still get the error, but if I take out the whole section I do not
<span id="browsertest1" style="position:relative"> Testing Your Browser...</span>
<!--<script language="JavaScript">
var temp1 = "browsertest1";
var temp2 = "Testing Your Browser...Failed";
setTimeout("ChangeText(temp1, temp2)",5000);
</script>-->