Why browser doesnt recognize jquery when <script src="...jquery.js> is on a html page served by Goo
Posted
by indiehacker
on Stack Overflow
See other posts from Stack Overflow
or by indiehacker
Published on 2010-03-22T09:15:26Z
Indexed on
2010/03/22
9:21 UTC
Read the original article
Hit count: 250
jquery.js
source code is not being recognised by browser using my page.html
served by Google App Engine as a http:some_request
to the SDK, BUT when I load the exact same page.html
into the browser directly from my local hard drive as jquery.js
all works OK, it is recognized, so I know my path is OK....
I don't understand?
In the header of my page.html
I have the following:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
I also tried without success in the header this:
<script src="/static/jquery.js" type="text/javascript"></script>
I am working along with the examples in the [Jquery tutorial][1]. I am sure there is something simple I dont understand about how .html pages served to the browser from app engine interact differently with the browser than what I normally would expect....but I frustratingly just cant get it.....everything else I have with my app engine app is working fine......would love some help so i can move forward....
© Stack Overflow or respective owner