最新文章列表

两个jsp页面之间传值的问题,和checkbox多选框之间的问题

解决两个Jsp页面之间传值,A页面可以看做父页面,点击A页面弹出一个框也是一个页面可以看做B页面,当点击A页面的一个超链接时,走后台带上数据到B页面进行显示,B页面有多选框,选中之后,页面关闭,把值带会A页面,然后,在打开B页面时,之前选中的框依然选中!!!
houyajie 评论(0) 有693人浏览 2017-05-09 19:26

window.showModalDialog弹出框下载附件

1、在页面<body></body>间插入:     <iframe id="download" name="download" height="0px" width="0px"></iframe> 2、在<head></head>标签中插入< ...
huangshanghua 评论(0) 有464人浏览 2016-03-07 14:45

Chrome不支持showModalDialog的解决方案

  完全替代showmodaldialog模态窗口的jQuery浮动窗口  http://download.csdn.net/download/mmnan/4294585   JS中showModalDialog 详细使用 -- http://blog.sina.com.cn/s/blog_49867dc001013jj4.html   模式窗口showModalDialog的用法总结 ...
ychg2009 评论(0) 有4750人浏览 2014-10-10 14:47

模态对话框导致setTimeout无效的解决方案(二)

之前的方案一,请参照:http://rainbow702.iteye.com/admin/blogs/2040051   这篇写下方案二。 这个方案用到了HTML5中新的API,web worker。 web worker 能够产生一个独立于主线程的子线程,它们之间除了通信之外,是不会互相干扰的。而恰好,在web worker 也能够使用 setTimeout 来定时,所以,我就自然而然 ...
Rainbow702 评论(0) 有1969人浏览 2014-04-03 01:02

模态对话框导致setTimeout失效的解决方案(一)

web开发中,大家有可能经历过下面这种问题: ① 画面上通过setTimeout启动了一个定时器,用以动态更新画面上的某个组件(比如,1 秒刷新一次时间中的秒数) ② 当页面弹出一个模态对话框(通过 showModalDialog打开)时候,你会发现画面上的setTimeout失效了(比如,时间不再是一秒刷新一次了) 发生这个问题的原因大家可能都知道:模态对话框的特性导致了这个问题。在关闭模态对 ...
Rainbow702 评论(0) 有4026人浏览 2014-04-03 00:27

javascript中showModelDialog刷新父页面

在页面中使用showModalDialog打开模式子页面窗口的时候,如果想在子页面中操作父页面中的某个节点,可以通过如下的进行:       window.showModalDialog('url',self,‘status...’); // 首先中间参数使用self       在子页面使用window.dialogArguments 就可以获得父窗口self对象,有了这个对象之后就可以进行 ...
bozch 评论(0) 有6266人浏览 2013-10-12 17:26

在showModalDialog打开的画面中提交form时,不想打开新窗口的解决方法

打开一个模态窗口:window.showModalDialog(url,window,"dialogWidth:950px; dialogHeight:450px; help: no; status: no"); 模态窗口如果提交form,会弹出一个新窗口,即使为form指定了 target="_self" 也是不行的。   那么要如何解决呢? 其实很简 ...
Rainbow702 评论(0) 有5972人浏览 2013-08-25 14:27

JS中showModalDialog 详细使用 (转)

基本介绍:    showModalDialog()                (IE 4+ 支持)    showModelessDialog()             (IE 5+ 支持)    window.showModalDialog()          ...
haibin369 评论(0) 有858人浏览 2013-07-05 19:26

showModalDialog的简单使用

showModalDialog的简单使用 1、要通过另外一个网页输入结果的网页 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta htt ...
chinrui 评论(0) 有1095人浏览 2013-05-17 23:59

JS中showModalDialog (模态窗口)详细使用

基本介绍:          showModalDialog()         (IE 4+ 支持)          showModelessDialog()      (IE 5+ 支持)          window.showModalDialog()      ...
lgscofield 评论(1) 有37934人浏览 2013-04-22 13:12

showModalDialog 使用详解

转自:http://www.sosuo8.com/article/show.asp?id=851 showModalDialog 使用详解 今天在书上看到有showModalDialog这么个东西,看来我真是有点落伍了,在网上找了很久,发现 ...
chenlong_1988 评论(0) 有1124人浏览 2013-03-24 17:44

转 : showModalDialog 与 returnValue

returnValue是javascript中html的window对象的属性,目的是返回窗口值,当用window.showModalDialog函数打开一个IE的模式窗口(模式窗口知道吧,就是打开后不能操作父窗口,只能等模式窗口关闭时才能操作)时,用于返回窗口的值,下面举个例子: ----------------------------------------------------- ...
269629151 评论(1) 有1151人浏览 2013-01-24 09:07

showModalDialog弹出窗口,返回内容至父窗体

showModalDialog弹出窗口,返回内容至父窗体 IE6,7,8,9 FF下测试没有问题 父窗体 <script type="text/javascript"> function openSelector(url,iWidth,iHeight){ var iTop = 0; var iLeft = (window. ...
yuhaijunll 评论(0) 有952人浏览 2012-12-27 17:43

showModalDialog窗口居中

设置iTop和iLeft属性,如下: function openTempleteSelector(url,iWidth,iHeight){ var iTop = (window.screen.availHeight - 20 - iHeight) / 2; var iLeft = (window.screen.availWidth - 10 - iWidth) / ...
yuhaijunll 评论(0) 有2160人浏览 2012-12-27 17:37

showModalDialog FRAMESET IE9/10下访问,窗口很小

showModalDialog FRAMESET IE9/10下访问,窗口很小。 function openSelector(url,iWidth,iHeight){ var iTop = 0; var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; window.showModalDi ...
yuhaijunll 评论(0) 有3056人浏览 2012-12-27 17:13

window.showModalDialog刷新父窗口和本窗口的方法及注意

window.showModalDialog刷新父窗口和本窗口的方法及注意: 一.刷新父窗口的方法:    A.使用window.returnValue给父窗口传值,然后根据值判断是否刷新。       在window.showModalDialog窗口页面中用window.returnValue方式设置返回值;       比如:window.returnValue='refresh';   ...
userslinlin 评论(0) 有1217人浏览 2012-12-20 16:22

ShowModalDialog函数、改变模态窗口大小

ShowModalDialog函数的功能: 打开一个子窗口,并且可与父窗口相互传递数据,它与window.open的最大区别就在于由ShowModalDialog打开子窗口后,父窗口将不能操作。 使用方法: vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures]) 参数说明: sURL 必选参数,类型 ...
Jugglecat 评论(0) 有1109人浏览 2012-11-22 22:12

showModalDialog应用

直接运行下面的页面就明白怎么用了 父页面:main.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta h ...
jie66989 评论(0) 有1146人浏览 2012-11-22 13:44

js调用showModalDialog返回值时如何不重复打开窗口

主窗口调用showModalDialog时,为了不让打开的子窗口查询时再次打开窗口,在子窗口中须  window.name = "__self"; window.open(url, "__self") ; “__”是两个"_"。
sky_若海 评论(0) 有1001人浏览 2012-11-16 14:27

IE8 showModalDialog()打开新窗口问题

IE8下用js关闭界面时,打开一个新的窗口。 解决方法如下: 将<base target="_self"/>加入到<head>标签里。 放置位置: <html>      <head>            <title>test</title>            <base target=&quo ...
josunmarks 评论(0) 有1297人浏览 2012-11-01 14:18

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics