On Dec 10, 10:13 am, "Lloyd Sheen" <a...@b.cwrote:
Quote:
I am trying to migrate from lots of javascript embedded within an aspx file
to using .js files.
>
So far no luck. I have created the .js file which contains part of the
javascript which was part of the aspx file and worked correctly.
>
First it seems that I cannot get what should exist in the .js file. I
assume although finding real examples on the net is more difficult than I
thought. My .js file contains 3 functions. There is no script tag.
>
I then (although I have tried the RegisterClientScriptBlock method) to
simply put the following into the <head
>
<script src="ZipFileHandling.js" type="text/javascript"
language="javascript"></script>
>
Now when I run I get that wonderful "A Runtime Error has occured. Do you
wish to debug? Line 3 Error Syntax error". Of course what is line 3????
>
Right now I am stuck.
Line 3 is probably in your .js file. Sounds like a syntax error to
me. Perhaps you're missing a paren. Can you post some of your .js
file?