使用window.ShowModalDialog可以完成子页面和父页面之间的传值,但是window.ShowModalDialog不是w3c的标准,有些浏览器不兼容,如Opera和一些低版本的浏览器,window.open是w3c标准写法,兼容性比window.ShowModalDialog要好 ...
首先建立一个父页面 lt doctype html gt lt html gt lt head gt lt title gt 父页面 lt title gt lt script gt function tanchu window.open son.html , ziyemian , width ,height ,top ,left ,toobar no,menubar no,scrollbars ...
2016-11-14 23:23 0 4499 推荐指数:
使用window.ShowModalDialog可以完成子页面和父页面之间的传值,但是window.ShowModalDialog不是w3c的标准,有些浏览器不兼容,如Opera和一些低版本的浏览器,window.open是w3c标准写法,兼容性比window.ShowModalDialog要好 ...
如题 function openWin(url,text,winInfo){ var winObj = window.open(url,text,winInfo); var loop = setInterval(function ...
= quitStockBy; // window.open(,"_blank","width=3 ...
<!--主页面的代码--><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script type="text/javascript" src ...
Web开发中经常会遇到,使用 window.open打开窗体。 那么问题来了,怎么关闭打开的窗体? 网上给出了很多的解决方便,试了一些后都没有效果, window.top.close() 这个在IE、Chrome中都可以用 打开窗体是,为了方便操作,往往需要 ...
子窗口: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <script src="js/jquery-1.7.2.min.js" type="text ...
一、js完整代码如下: //js打开新窗口 functionopenWin() {window.open('addInfo.jsp', '_blank','width=300,height=400,top=200,left=400');} //刷新当前页面方法,用于回调函数 ...