簡體   English   中英

jQuery Struts2 jQuery Easy UI

[英]jquery Struts2 jquery-easy-ui

我正在使用struts2 jquery插件,還使用jquery easy ui。 要工作的插件假定我包含標簽:jsp頁面頂部的<sj:head jqueryui="true" defaultLoadingText="Please wait ..."/>

問題是,當我包含此標簽時,在jquery easy ui上展開的javascript停止工作。 我的問題是:是否仍然可以同時使用jquery插件和jquery easy ui?

你嘗試過jquery.noConflict嗎?

<script type="text/javascript" src="plugin.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
  $.noConflict();
  // Code that uses other library's $ can follow here.
</script>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM