![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
WinterLmm
这个作者很懒,什么都没留下…
展开
-
js跳出iframe框架
if (window != top){top.location.href = location.href; }原创 2013-06-20 17:08:38 · 848 阅读 · 0 评论 -
js中动态创建json格式数据
var mainTable={}; //主表表名 mainTable.tableName=$("#mainform .tablename").text(); //主表表名英文名称 mainTable.tableByname=$("#mainform .tablename :input").val(); var mainTableCells=new Array(); //显示原创 2013-08-27 10:17:04 · 6588 阅读 · 0 评论 -
子窗口向父窗口传值
function returnOpen(id,value){ window.opener.document.getElementById("").value=id; window.opener.document.getElementById("").value=value; window.close(); }window.opener 返回的是创建当前窗口的那个窗口的引用原创 2013-12-10 10:30:44 · 747 阅读 · 0 评论