I logged in to my FTP from Filezilla and tried to open a JS file, and it gave me the following error:

Script:    C:/.../slider.js
Line:      1
Char:      1
Error:     'document' is undefined
Code:      800A1391
Source:    Microsoft JScript runtime error

I have jQuery linked to the .php file as well...'document' comes from:

$(document).ready(function() {
    //Code is here...
});

I tried downloading the file and opening it, I tried removing the $(document).ready();, I tried removing jquery (which by the way, when I opened the jQuery file it gave me the same almost the same error). Any help is appreciated. Thanks!

EDIT:

One of the tags for this post was "asp.net", but to be honest I don't even know if it is related to asp.net...

Edit
Report