2011年8月30日

一个iframe,点击每个tab加载相应的页面进来iframe

摘要: <html><head> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <title></title> <link href="../gstyle/listpage.css" rel="stylesheet" type="text/css" /> <link href="../gstyle/easyui.css" 阅读全文

posted @ 2011-08-30 16:27 大龄书童 阅读(2142) 评论(1) 推荐(0) 编辑

在一个页面打开一个新页面,从这个新页面获得返回值

摘要: //var url ="ABC.html" //你想打开的页面var rets = window.showModalDialog(url, '', 'dialogheight=768px;dialogwidth=1024px');这个rets就是这个ABC.html的返回值//在ABC.html页面关闭该页之前应该这样赋值window.returnValue ="你想返回的值"//把只赋在这里,关闭该页的时候,另外一个页面就能获取到它的值了 阅读全文

posted @ 2011-08-30 16:21 大龄书童 阅读(598) 评论(0) 推荐(0) 编辑

导航