1

I've been trying to setup so that the website supports multiple browsers The page was initially debugged on chrome with no issues. the same can be said to IE, Firefox, Opera

When debugged on Edge though the page shows up with no CSS and the javascripts implemented doesn't work

Edge Version

  • Microsoft Edge 42.17134.1.0
  • Microsoft EdgeHTML 17.17134

Declared on aspx

<script src="../assets/js/jquery-ui-1.9.2.custom.js"></script>

I'm have narrowed down the issue to what I think is the cause, the browser can't seem to locate all the scripts that has been added to it. These errors don't appear on the other browsers

HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. GET - https://localhost:44311/assets/css/jquery-ui-1.9.2.custom.css

TylerH
  • 20,799
  • 66
  • 75
  • 101

1 Answers1

0

Try to clear the browser cache, then retest your code.

Also, you could try to add a new folder and put the JS and CSS file into it, then using them.

If still not working, you could also try to use the CDN reference to add the JQuery UI JavaScript or CSS reference. like this:

<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>

More details, see jQuery UI – All Versions and jQuery UI 1.9.2.

Zhi Lv
  • 18,845
  • 1
  • 19
  • 30
  • Still got the same error. I can use CDN reference fine but I still need to use local references. The issue is not limited to js files even css and images references are getting the error. – frustratedDeveloper Aug 27 '19 at 01:38
  • Perhaps there is something wrong with your server side, please refer to the following threads to enable the detailed error messages from server side and check the detailed error message. [link 1](https://stackoverflow.com/questions/5385714/deploying-website-500-internal-server-error), [link 2](https://stackoverflow.com/questions/28954037/some-javascript-css-images-returns-500-internal-server-error) and [link 3](https://stackoverflow.com/questions/2640526/detailed-500-error-message-asp-iis-7-5). – Zhi Lv Aug 27 '19 at 08:41