Profile photo
Submitted by Rehana Katib
on March 28th, 2013 at 08:13:59 EST

Usage of jquery in eclipse

i know how to find an element using jquery with the help of firequery. But I am unable to include that particular jquery in java program.

Is there any need of adding jar files to the java project in eclipse?

Or else please help me to make use of jquery in eclipse.

Profile photo
Replied by Yogaraj Khanal
on March 28th, 2013 at 09:55:39 EST
<script src="<bean:message key="app.webroot"/>/common/js/jquery-1.7.2.min.js" type="text/javascript"></script>
All you have to do is import jQuery under <head></head> tag in JSP like you import any other JavaScript file.
Best answer accepted by Moderator
Accepted Answer