ArK
ArK

Reputation: 21066

Jquery is undefined

i got 'JQuery' is undefined error while browsing the page in IE 6 but it works with all

browsers (including IE 7 ).can anyone help me.

Upvotes: 2

Views: 18268

Answers (3)

Uthaiah
Uthaiah

Reputation: 1303

To resolve this problem, Put your JQuery library at the beginning of all other Javascript libraries. If your using other libraries like JQGrid or JQuery UI which uses Jquery. then it should look like this..

 <script src="~/Scripts/jquery-1.7.2.min.js"></script> /* First your JQuery lib */
 <script src="~/Scripts/jquery-ui-1.8.24.js"></script> /* Then your JQuery UI or JQGrid */

Upvotes: 1

Dawid
Dawid

Reputation: 4062

Obviously You have to change this also:

<script type="text/javascript" src="http://192.168.1.100/jquery.cycle.all.js"></script>
<script language="javascript" src="http://192.168.1.100/carousel192.js"></script>

into this (also copy this two files into folder named js in the same directory where the html file is):

<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script language="javascript" src="js/carousel192.js"></script>

And do not use Your local IP addresses!

Upvotes: 0

balexandre
balexandre

Reputation: 75113

Taking in consideration that you actually posted a link to an internal IP Address, I can give you a quick answer (hopping that you have internet connection on the page you are having this problems)

change the script call to:

<script 
     type="text/javascript"          
     src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
</script>

Upvotes: 7

Related Questions