가능한 중복 : 페이지
Can I use multiple versions of jQuery on the same page?사용이 개 JQuery와 버전
안녕,
내가 JQuery와에게 1.4.4 버전을 사용하지만, 내 스크립트 요청 중 하나 구형 Versio.
jq132("#docs_file ul").sortable({ opacity: 0.6, cursor: 'move', update: function()
나타나서 쇼 (파이어 폭스 debuger) :. jq132 ("UL docs_file #") 정렬
<script type="text/javascript">var jq132 = $.noConflict(true);</script>
그런 다음 내가이 줄에 오류가 발생합니다 : 나는 오래된 JQuery와 버전과 설정에 새 이름을 삽입
jq132(document).ready(function()
{
jq132(function()
{
jq132("#docs_file ul").sortable({ opacity: 0.6, cursor: 'move', update: function()
{
var order = $(this).sortable("serialize") + '&action=Listings';
jq132.post("order.php", order, function(theResponse){
jq132("#error").html(theResponse);
});
}
});
});
});
문제는 안된다 "어떻게 같은 페이지에 두 개의 jQuery를 버전을 사용하는"것이 아니라의, – ThiefMaster
수정 "한"어떻게 최신의 jQuery 버전에서 작동하도록 $ ancient_broken_plugin를 해결하기 위해 "당신의 스크립트 "대신. 날 믿어, 더 좋은 방법이야. –
중복 게시물 http://stackoverflow.com/q/1566595/374804 –