Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having a sudden issue with Javascript not working in my browsers. When my web application attempts to reference a validation function in a .js file, I get an error "Function is undefined". This is a master page application and I can see the .js links associated in the master page. This issue is described in this posting on S/O Javascript validation error in asp.net. I found this similar issue All my browsers suddenly don't support Javascript files anymore? but I don't have control over the router since I am at work.

I did create a test web app on my local machine, and ran a quick alert message box, and that worked.

I am using visual studio 2010, and my files are located on a network drive. I attempted to restore my source code files from a few days back (when I knew javascript was working) but the issue was not resolved.

Any suggestions on how to resolve this issue?

share|improve this question

closed as off topic by Daniel Beck Aug 15 '12 at 15:35

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I've flagged your question as off topic and suggested the moderator to send it to Stackoverflow. I also think you will get better answers there, just so you know. –  Alexandre Martins Aug 15 '12 at 15:11
    
already posted it on SO with no luck. Since I found the other javascript related question on SU, I figured this must be the place to be for answers. –  DotNetRookie Aug 15 '12 at 15:13
    
I can't find your answer in stackoverflow! It's possible that the wording is keeping possible answers away. Specially since this might probably not be a ASP.NET related problem. –  Alexandre Martins Aug 15 '12 at 15:22
1  
The other JS related questions are user questions — user scripts, Greasemonkey, making others' websites behave, etc. This looks like an actual software development question and is therefore off topic on Super User. But just to be sure, does it work in any browser? Opera? Safari? Do you have any reason to suspect it's the browsers, not your programming? –  Daniel Beck Aug 15 '12 at 15:22
    
@DotNetRookie And get in touch with your network administrator. He might have made a change to the network that caused your problem. –  Alexandre Martins Aug 15 '12 at 15:23
show 4 more comments