Develop
2013.12.17 14:11
[js] jQuery 충돌 회피
조회 수 38321 댓글 0
jQuery 외의 다른 Javascript 라이브러리를 사용하는 경우,
"$"가 중복으로 할당되는 것을 막기 위한 방법.
$.noConflict(); 실행 후,
jQuery를 다른 글로벌 변수에 할당하여 사용.
<script src="jquery.js"></script> <script> $.noConflict(); window.J = jQuery; </script> <script src="prototype.js"></script> <script> //jQuery(document).ready(function(){ J(document).ready(function(){ }); </script>
-
[linux] 기본 명령어 (내공쌓기)
-
[linux] 계정관리하기(내공쌓기)
-
[linux] 간단한 vi편집기 사용 명령
-
[linux] 간단한 NAT 설정 script
-
[linux] 간단한 find 명령어 설명(업데이트 해야 함)
-
[linux] yum 업데이트 시 커널 제외하기
-
[linux] X환경 GNOME에서 KDE로 바꾸는 법..
-
[linux] Xwindow/Xmanager 사용
-
[linux] wget 명령 사용 예제
-
[linux] vi 편집기 간단한 명령과 환경설정
-
[linux] The Ultimate Wget Download Guide With 15 Awesome Examples
-
[linux] tar 명령어 뽀개기.. ㅋㅋ