View Single Post
01-14-2010, 11:33 PM
#1
JayD3e is offline JayD3e
Status: I'm new around here
Join date: Jan 2010
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

JayD3e is on a distinguished road

  Old  "Javascript file interpreted as other" in Google Chrome

Hey TalkFreelance.com! This is my first post, and I am so happy I found this site, I have been looking for an online community of web designers for quite some time now. But anyway to my question. I have enountered a very odd error while writing my latest site. Go here in Google Chromeproblem only occurs in Chrome) and you can see for yourself, www.stryv.net/newAccount_student.com. As you can see, the entire page doesn't load immediately, it is only after you hover over and element of the page(i.e. button or dropdown) that the rest of the images are loaded and placed in their respective locations.

After I looked into the problem and did some javascript debugging, I discovered that Chrome was outputting two errors,both of which dealt with the javascript fil not being interpreted as a .js file but as a plain text file. I have three total .js files on this page(the first being the jquery library), andtwo of three caused this error. Interestingly enough, when I commented out one of the .js file(postLoadValidate.js), the problem went away. So it must have something to do with that specific file. Take a look and see for yourself.

Reply With Quote