개발/화면단

jQuery v2.1.4 , ie8 , addEventListener

예쁜꽃이피었으면 2015. 8. 21. 15:14

jQuery v2.1.4 , ie8 , addEventListener


ie8에서 에러가 난다.. 화면이 깨짐



[ 방법1. ]

https://books.google.co.kr/books?id=zfVAAwAAQBAJ&pg=PT9&lpg=PT9&dq=%27addEventListener%27+,xp,ie8&source=bl&ots=zVyMw1P6_P&sig=Z1dePoyUUOO7aV1QXMoRjZ8_B0s&hl=ko&sa=X&ved=0CFEQ6AEwBmoVChMIhJbg7qC5xwIVASyUCh3AxQvs#v=onepage&q='addEventListener'%20%2Cxp%2Cie8&f=false



[ 방법2. ]

https://forum.jquery.com/topic/jquery-2-1-1-min-js-object-doesn-t-support-property-or-method-addeventlistener

이미 되어있는 부분..

<!DOCTYPE html>
<html>
<head>
 <meta http-equiv="X-UA-Compatible" content="IE=edge;" />

The doctype sets standards mode, and the meta forces IE to use the latest internal version.


OR don’t use a 2.x jQuery.


[ 방법3. ]
<!--[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) 2015.09.08
웹페이지 호출시 이미지 랜덤  (0) 2015.08.22
nav , ie8  (0) 2015.08.21
jstl 자바스크립트 db 데이터  (0) 2015.08.13
특정 글자수에서 줄바꿈  (0) 2015.08.11