<!DOCTYPE html>
<html>
<head>
<title>jquery03.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<script type="text/javascript" src="../js/jquery-1.7.2.js"></script>
<script type="text/javascript">
$(function(){
// text():插入文本 html():插入元素和文本
$("#btn1").click(function(){
//$("#div1").text("中国人民 很人民");//等同于 innerText
$("#div1").html("<input> 有文本框吗");//等同于 innerHTML