<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script src="js/jQuery-1.8.js"></script>
<script>
$(function(){
var inp = $("#in1");
var inEle = document.getElementById("in1");
$(inEle).val(); //jquery中的对象转换成dom对象
inp[0].value; //dom对象转换成jquery中的对象
})
</script>
</head>
<body>
<input type="text" value="zhangsan" id="in1">
</body>
</html>