简体   繁体   中英

Not loading javascript on Local IIS but it is working on IIS Express

I need java script to load correctly on Local IIS. I am using IIS 8.5

I am realy laic for IIS, but what I have done so far:

  • I have 'Static content' turned on
  • I gave permission to 'everyone' to my Java script folder

There are some duplicate questions like , and also this , and this . But nothing is helpful in my case.

Do you know how to find out what is issue in my case ?

Ok, I have solution.

I find out that it works in all browsers except IE.

Solution is to add meta tag:

 <meta http-equiv="X-UA-Compatible" content="IE=edge" />

See more details

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM