Why doesn't chrome load my jquery file?

I have been struggling with a problem that drives me crazy. My Chrome browser won't load my jquery file specified in my script tag. If i look in developer tools it doesn't even load. If i try my html file in Safari I can se it load in web inspector and i can see a log in my console. For chrome i see no errors. If I view source I can see my html (I am not browsing the wrong file or a cached file). I've created a small test html file with the same problem. My simple test code looks like this:

<!doctype html>
    <script src="file:///Users/user/OneDrive/Document/test/jquery-2.1.4.min.js"></script>

        $(document).ready(function () {

EDIT! Well this is a bit embarrassing. Even though you should not code like this it should work. But I just learned that disabling javascript in chrome and chrome developer tools are two different things. I did only check that javascript was enabled in chromes settings.

Time for a break and some coffee..


Make sure javascript is enabled. Chrome has separate settings for this in Chrome and in Chromes developer tools, check both. More about this problem here

Need Your Help

http post request not working in asp.net

c# asp.net httpwebrequest

i want to translate user entered english content to hindi language.So, for that whenever user clicks translate button, i will send a HTTP post reguest(with user entered english text) to googletrans...

Django: How can I protect against concurrent modification of database entries

django django-models concurrency transactions atomic

If there a way to protect against concurrent modifications of the same data base entry by two or more users?