firefox中点击链接按钮用window.open打开新窗口? 本帖最后由 Joyceqh 于 2009-10-16 10:36:07 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 function openWindow(url, self){ window.force = new ForceWindow(); window.force.pop(url, self); }function ForceWindow(){ this.r = document.documentElement; this.f = document.createElement("FORM"); this.f.target = "_blank"; this.f.method = "post"; this.r.insertBefore(this.f, this.r.childNodes[0]);}ForceWindow.prototype.pop = function(sUrl, self){ this.f.action = sUrl; if(self) this.f.target = "_self"; this.f.submit();} 终于打开了,只是aspx文件里多了一个<body>去掉了在firefox就能打开了,很奇怪但是打开的子页面是一个treeview结构,选中父节点子节点却没选中?在ie中测试可以的,有没有兼容的js代码? 关于ASP.NET2.0中使用事务,请给一个实例. Vs2008中使用AjaxToolkit 左边一个TREEVIEW 点击节点,怎么把页加载进来? 问题很奇怪,sqlserver不存在或访问被拒绝 ID传递后,再运行,如何不丢失????急!!!!!!!!!! 网站技术方面的具体要求 ASP.NET 揭秘第二版有电子版中文的吗?//小菜鸟寻书,好心人指点,不要打击我的信心。谢谢~ 怎样在.net中表示数据库中的某项为空? ASP.net中递归函数的问题 图象上传怎么实现 模式窗体的问题 急需帮忙!! DataTable导入excel后点击取消出现异常,但点击保存确实OK的!各位前辈帮忙看看吧
{
window.force = new ForceWindow();
window.force.pop(url, self);
}function ForceWindow()
{
this.r = document.documentElement;
this.f = document.createElement("FORM");
this.f.target = "_blank";
this.f.method = "post";
this.r.insertBefore(this.f, this.r.childNodes[0]);
}ForceWindow.prototype.pop = function(sUrl, self)
{
this.f.action = sUrl;
if(self) this.f.target = "_self";
this.f.submit();
}
但是打开的子页面是一个treeview结构,选中父节点子节点却没选中?在ie中测试可以的,有没有兼容的js代码?