浙江省高等学校教师教育理论培训

微信搜索“教师资格证岗前培训”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>4-6-2</title>
<style type="text/css">
*{margin:0;padding:0;}
body
{ font-size: 13px; line-height: 130%; padding: 60px; }
p
{width:200px;background:#888;color:white;height:16px;}
</style>
<script src="../../scripts/jquery-1.3.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(
function(){
$(
'#btn').bind("click", function(){
$(
'#test').append("<p> 我的绑定函数1</p>");
}
).bind("click", function(){
$(
'#test').append("<p> 我的绑定函数2</p>");
}
).bind("click", function(){
$(
'#test').append("<p> 我的绑定函数3</p>");
}
);
$(
'#delAll').click(function(){
$(
'#btn').unbind("click");
}
);
}
)
</script>
</head>
<body>
<button id="btn">点击我</button>
<div id="test"></div>
<button id="delAll">删除所有事件</button>
</body>
</html>

other effect:
http://api.jquery.com/mousemove/
http://api.jquery.com/fadeIn/



posted on 2010-05-14 15:25  lexus  阅读(596)  评论(0编辑  收藏  举报