My js files are not getting loaded and Im getting the message “resource interpreted as script but transferred with MIME type text/html”.May I know how I can solve this issue.
Thanks,
Balaji
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This sounds more like a server issue than a javascript issue.
It seems rather odd that any server would not have a MIME type set for .js files.
Do the files have a different extension?
Perhaps your HTML needs to be modified to be more specific?
<script type="text/javascript" language="javascript" src="functions.js"></script>You’ll have to provide a bit more information to get a more specific answer to your question.