Library loads fine when I try to load a page served through node.js server locally on a port server; and also loads fine when I load pages online.
I am trying to run this:
<!DOCTYPE html>
<html>
<head>
<script src="jquery-1.9.1.min" ></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});
</script>
</head>
<body>
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<button>Click me</button>
</body>
</html>
But Firebug Net panel shows no libraries being loaded:

Libraries load when served through nodejs:

PS: I've also tried online references to library like
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script>

New Topic/Question
Reply


MultiQuote


|