有关_self和opener的问题 覆盖了自然就没有了,这你也知道。不知你想干什么win.document.all.title.innerHTML = this.title;的意义是什么? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我已经在DEV-CLUB上等你好久了,是这样的,我正把你的NETBOOK研究。我只是想open不要打开一个新窗口。在最早的一个版本里有这样的一段程序:function popwin(key) { var conn = connect(); var rs = conn.Execute("select * from data where id="+key); this.title = formString(rs("title")); this.content = formString(rs("content")); conn.Close(); this.win= open("view.htm","","height=450,width=600,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no"); /** * 函数: see * 功能: 回调函数,由弹出式窗口的onLoad调用 * 在弹出式窗口中显示内容 */ this.see = function() { win.document.title = "精华文章"; win.document.all.title.innerHTML = this.title; win.document.all.content.innerHTML = this.content; }}我提问的程序就是这个部分。 js 获取当前鼠标位置 web页面gridview右键菜单 2003office效果 一个关于json的简单概念问题 关于生成静态页面的问题(极度疑惑) 视频网站全屏播放控制 浮动的DIV如何浮动在WMV视频之上 如何在<input type='file'>选择文件后提交之前限定上传文件格式 innerHTML属性改变后,之前用setAttribute设置的事件响应失效的问题 jquery问题(chosen插件) 在浏览器地址栏中输入一行Javascript代码,可以显示这个页面的最后更新时间,请问谁知道这行代码是什么? 求助阿~!!在线等待~!!谢谢大家~! 急啊!循环问题
function popwin(key) {
var conn = connect();
var rs = conn.Execute("select * from data where id="+key);
this.title = formString(rs("title"));
this.content = formString(rs("content"));
conn.Close();
this.win= open("view.htm","","height=450,width=600,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
/**
* 函数: see
* 功能: 回调函数,由弹出式窗口的onLoad调用
* 在弹出式窗口中显示内容
*/
this.see = function() {
win.document.title = "精华文章";
win.document.all.title.innerHTML = this.title;
win.document.all.content.innerHTML = this.content;
}
}我提问的程序就是这个部分。