jQuery 1.x와 2.x 버전 동시에 사용하기 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

jQuery 1.x와 2.x 버전 동시에 사용하기 정보

jQuery jQuery 1.x와 2.x 버전 동시에 사용하기

본문

다들 아시겠지만,

버전에 따른 JS가 틀리다면

 

<!--[if lt IE 9]>

<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>

<![endif]-->

<!--[if gte IE 9]>

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>

<![endif]-->

<!--[if !IE]> -->

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>

<!-- <![endif]-->

추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로