.js files are not loading when loading the page from bookmark - jquery

I have a web application where I have refer some js files. When running the pages by pasting it in browser, it is working fine. But when I run it from bookmark it's js files are not getting loaded and writing error messages on console.
I have below files added-
<script src="../GlobalJS/Constants.js"></script>
<script src="../Directive/Directive.js"></script>
<script src="../GlobalJS/GETPostService.js"></script>
in Directive.js there is a variable taken from Constant.js and surprisingly Directive.js is getting loaded but Constant.js is not getting loaded and it is showing ReferenceError


Easyresponsivetab is not working with MVC5

Working site -
Same HTML when integrated with MVC5 throws an error - "TypeError: $(...).easyResponsiveTabs is not a function"
MVC5 integrated -
The issue says $(...).easyResponsiveTabs is not a function, it's because in the can not find the files:
<script src="/Origolo/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/Origolo/js/easyResponsiveTabs.js"></script>
make sure it's pointing to the right place, because the browser says error 404 not found for tha files.

How do I change the path used in calling Jquery.js and Drupal.js files?

JavaScript has completely stopped working on my Drupal site (on localhost). When I check the source code, I find that the html is trying to call jquery.js, drupal.js and other related files from the following path:
script type="text/javascript" src="http://capstone1:8082/misc/jquery.js?v=1.4.4"></script>
However, the scripts actually exist at this path (notice the includes/):
script type="text/javascript" src="http://capstone1:8082/includes/misc/jquery.js?v=1.4.4"></script>
How can I change this path so that jQuery can function again on my site?

SharePoint App Model - 500 Server Error loading JS from SharePoint

We are trying to get up and running with SharePoint App Model development. However, we are running into a problem.
Firstly, let me state that we have a DNS entry that routes all sundomains in the form of:
*.ourdevserver.ourappdomain.net to the IP of our devserver.
When our app loads, it runs out and attempts to load three js files from SharePoint. Those requests look like this:
MS Ajax:
http:// apps-13c02829da8acd.ourdevserver.ourappdomain.net/_layouts/15/MicrosoftAjax.js
http:// apps-13c02829da8acd.ourdevserver.ourappdomain.net/_layouts/15/sp.runtime.js
and finally sp.js:
http:// apps-13c02829da8acd.ourdevserver.ourappdomain.net/_layouts/15/sp.js
The GET for each of these files fails with a 500 server error (not a DNS error). This, in turn, prevents the app from working correctly. The code that loads these files is the default code that is created when you start a new SP app project in Visual Studio:
<script type="text/javascript" src="/_layouts/15/MicrosoftAjax.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>
Now, I can change the script reference to dispense with the app-xxxxx subdomain and it will work just fine pulling the three files from ourdevserver.ourappdomain.net/_layouts/15/MicrosoftAjax.js. So, it feels like this is an issue with IIS being able to handle the request.
Any ideas?
You can try like this
<script type="text/javascript" src="_layouts/15/MicrosoftAjax.js"></script>
<script type="text/javascript" src="_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="_layouts/15/sp.js"></script>
It work for me, becasue your app want get parent side's js files which not allowed.

Cannot use bootstrap.js but can use bootstrap.css with zend framework

I am creating a web application using Zend framework with Bootstrap. I placed the bootstrap folder with the js and css subfolders within a 'library' folder inside the 'public' folder of my project like so:
project>public>library>bootstrap>css and js.
There is a index.php in this folder that calls index.phtml under project>application>views>scripts>index folder which I edited by including the following lines inside the 'head' tag
<link href='library/bootstrap/css/bootstrap.css' rel='stylesheet' type="text/css">
<link rel="stylesheet" type="text/css" href='library/bootstrap/css/bootstrap-theme.css'>
This works fine.
Now, I also included the following lines just before the /body tag
<script src="library/bootstrap/js/jquery.js"></script>
<script src="library/bootstrap/js/bootstrap.js"></script>
Here, I am unable to use any of the javascript methods, eg. the dropdown effect does not work at all. Any help is greatly appreciated.
Given the error it show in the Developer Console in Chrome:
Failed to load resource: the server responded with a status of 403 (Forbidden) hardware.localhost/library/bootstrap/js/jquery.js
Uncaught Error: Bootstrap requires jQuery bootstrap.js
You can see bootstrap it's loading fine but jquery is not. The 403 error points to a permission error while you are trying to access jquery.js. Check the correct file location and permissions and it should work.

Routing jquery files with Mansonry

Working on my little rails app, utilizing mansonry. It works, but I get bunch of 404 errors in the console. I think I'm routing them correctly, but the errors are there.
I might be routing it both correctly and incorrectly, but I can't find where.
I have these files in app > assets > javascripts
Here is code from my index page:
<script src="js/jquery-1.7.1.min.js"></script>
<script src="jquery.masonry.min.js"></script>
<script src="javascripts/utils.js"></script>
Here is an error message:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/path/to/jquery.masonry.min.js
Where or how can I locate if I'm routing the files incorrectly.
js files in /app/assets/javascripts can be accessed via /assets/my.js however you might check out the relevant view helper methods and read up on the rails 3 asset pipeline