会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Storm丶HYL
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2017年6月28日
jquery 给iframe里的元素添加事件
摘要: $("#iframeId").on("load", function(event){//判断 iframe是否加载完成 这一步很重要 $("#divId",this.contentDocument).click(function(){//添加点击事件 alert("就是这样"); }); });
阅读全文
posted @ 2017-06-28 17:53 Storm丶HYL
阅读(7276)
评论(1)
推荐(1)
编辑