'jQuery is not defined' means the jquery is not loaded properly. No need to include all jquery.mini.js, jquery.js, jquery.lite.js, jquery.pack.js files. Just include one. The path you mention for src might be wrong. Do not use absolute path, use relative path. Suppose you are viewing your application using http://example.com/ then
<script type="text/javascript" src="/opt/JQuery/dist/jquery.min.js"></ script> above statement looks for jquery.mini.js file at path http://example.com/opt/jQuery/dist/jquery.min.js check is it correct path or not and use the correct path. cheers, Prajwala On Fri, Mar 13, 2009 at 7:10 PM, Pearl <[email protected]> wrote: > > Hi, > > I'm a newbie in JQuery. I'm not able to run JQuery sample code in my > java application. > > I'm trying to use a Color Picker - jQuery plugin. > > I've followed the steps mentioned in the following URL > http://www.eyecon.ro/colorpicker/#implement > > but still it is displaying error message, 'JQuery is not defined'. > > > I've downloaded , > http://code.jquery.com/nightlies/jquery-nightly.build.zip > , the following file, > and placed in /opt/JQuery, and used make to build JQuery. > > I've set the path of all the js files in /opt/JQuery/dist/ in my jsp > files/ > > <script type="text/javascript" src="/opt/JQuery/dist/jquery.min.js"></ > script> > <script type="text/javascript" src="/opt/JQuery/dist/jquery.js"></ > script> > <script type="text/javascript" src="/opt/JQuery/dist/jquery.lite.js"></ > script> > <script type="text/javascript" src="/opt/JQuery/dist/jquery.pack.js"></ > script> > > Please help. > > I'm very much interested in using JQuery color picker plugin in my > application. > > > Thanks in advance, > Pearl > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
