> Line 3 - sounds to me like whatever was on Line 3 of your script.js file.
> Did
[quoted text clipped - 30 lines]
>> Thanks
>> Lloyd Sheen
> I had 3 functions in one .js file. When I took 2 of them out and put them
> back into the aspx file I had no problem.
>
> Is there a way to put more than one function into a .js file. I am doing
> this (one to learn) and mostly to make the aspx file more readable.
You can have as many as you like...
Just make sure that each is correctly parenthesised e.g.
function firstFunction()
{
}
function secondFunction()
{
}
And remember not to include any <script> tags...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Lloyd Sheen - 10 Dec 2007 16:46 GMT
>> I had 3 functions in one .js file. When I took 2 of them out and put
>> them back into the aspx file I had no problem.
[quoted text clipped - 17 lines]
>
> And remember not to include any <script> tags...
Thanks Marc,
It was an script tag in the file. I will attribute this to monday morning.
This make my aspx file much easier to deal with and the javascript most of
which works fine be isolated so that I can find the areas that need changes
much faster.
Lloyd Sheen
Mark Rae [MVP] - 10 Dec 2007 16:58 GMT
> Thanks Marc,
You're welcome Lloyt.
> It was an script tag in the file.
I had a feeling it might be... :-)

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net