<!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>新页面标题</title>
<meta name="Description" content="网站摘要" />
<meta name="Keywords" content="网站关键词" />
<link type="text/css" rel="stylesheet" href="D:\Tools\Adobe Dreamweaver CS4.0\tools\style.css" />
<script type="text/javascript" src="D:\Tools\Adobe Dreamweaver CS4.0\tools\jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="a.js"></script>
<script language="JavaScript" type="text/javascript" >
$(function(){
$("#dj").click(function(){
$(".aa").html($(".aa").html()+'<div>加入的</div><br /><br />');
});
$(".aa").resize(function(){
alert($(".aa").height());
});
});
</script>
<style type="text/css">
/*--CSS初始化--开始--*/
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend,img,br{margin:0;padding:0;}
fieldset,img{border:none;}
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}
ul,ol{list-style:none;}
select,input{vertical-align:middle;}
select,input,textarea{font-size:12px;margin:0;}
table{border-collapse:collapse;}
body{background:#fff;color:#666;font:12px/22px "宋体","Arial Narrow";}
a{color:#1457a4;text-decoration:none;}
a:visited{color:#1457a4;}
a:hover, a:active, a:focus{color:#f30;text-decoration:underline;}
.clear{clear:both;line-height:0px;height:0px;padding:0px;margin:0px;font-size:0px;display:block;visibility: hidden;}
.clearfix:after{content:".";display:block;height:0;visibility:hidden;clear:both;}
.clearfix{zoom:1;}
.clearit{clear:both;height:0;font-size:0;overflow:hidden;}
/*--CSS初始化--结束--*/
</style>
</head>
<body>
<a id="dj" href="#">点击</a><br>
<div class="bb">
<div class="aa"></div>
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
jquery监听DIV的事件
共2个文件
js:1个
html:1个
5星 · 超过95%的资源 需积分: 50 84 下载量 53 浏览量
2013-05-27
10:02:30
上传
评论
收藏 2KB ZIP 举报
温馨提示
jquery监听DIV的事件,可监听DIV的变化的事件,直接引用即可使用
资源推荐
资源详情
资源评论
收起资源包目录
jquery监听DIV的事件.zip (2个子文件)
jquery监听DIV的事件
a.html 2KB
a.js 888B
共 2 条
- 1
yllovewhj
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页