<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div class="box">111</div>
<div class="box">222</div>
<div id="box1">333</div>
<script src="lib/jquery-2.2.2.js"></script>
<script>
//jquery对象转原生dom对象
//方法一[index]
var o=$('.box')[0];
var a=$('#box1')[0];
//方法二get(index)
var b=$('.box').get(0);//得到单个dom对象
var cs=$('.box').get();//将集合中所有的dom对象形成一个数组
//原生dom对象转jquery对象
var d=document.getElementById('box1');
var $d=$(d);
</script>
</body>
</html>