1.
头部声明
<!DOCTYPE html>
</html>
2.
加入meta标签
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" /><!-- IE=edge表示强制使用IE最新内核 -->
<meta http-equiv="X-UA-Compatible" content="IE=9" /><!-- 内核控制Meta标签,因为目前国内的主流浏览器都是双内核 -->
3.
引用1.x的jQuery.js
<script src="js/jquery-1.11.0.min.js" type="text/javascript" charset="utf-8"></script>
4.
IE8自动加载
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
<script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->