Today, i was working with Third-party jquery plugin for populate drop-down list but drop-down was not populating.I spent hours of time on internet for finding solution, at last i come to know that, this is jquery conflicting problem. Actually, i was using third party jquery for this, so it was getting conflicting with struts2-jquery Plugin. struts2-jquery Plugin uses jquery library so if you use any other jquery library it get conflict because you are using jquery library twice.If you will expand struts2-jquery Plugin library in NetBans IDE, you will find jquery library included in base folder.Here is the screen shot.
So solution is , you don't need to include the jquery library twice . So if you are including jquery lib in head section <script type="text/javascript" src="jquery.js"></script> , remove this because It is
already handled by the <sj:head /> tag.
Thnx for Solution...
ReplyDelete