![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
冷刃寒冰
这个作者很懒,什么都没留下…
展开
-
JavaScript中window.showModalDialog传递参数
1、在父窗口调用window.showModalDialog ,并得到返回值function uploadFile() { var url = "./fileuploadAction.do?method=init"; var ret = showModalDialog(url,'',"dialogWidth:470px;DialogHeight=230px;status:no原创 2012-08-06 17:06:48 · 473 阅读 · 0 评论 -
通过javascript使用FckEditor2.x
1、复制fckeditor到工程下2、在需要添加fckeditor的页面中加入fckeditor的js文件 3、页面加载时创建(显示)编辑器 window.onload = function () { var oFCKeditor = new FCKeditor('FCKeditor1'); o原创 2012-12-11 11:57:05 · 561 阅读 · 0 评论 -
简单倒计时
<html><head><meta charset="UTF-8"><title>简单时长倒计时</title><SCRIPT type="text/javascript"> var maxtime = 60 * 60; //一个小时,按秒计算,自己调整!转载 2018-08-31 16:14:45 · 153 阅读 · 0 评论 -
JavaScript获取当前系统时间
<script type="text/javascript">var now = new Date();var year = now.getYear();var month =now.getMonth()+1;var day = now.getDate();var hour = now.getHours();var minute = now.getMin...原创 2012-05-26 15:46:33 · 109 阅读 · 0 评论 -
JS中showModalDialog 详细使用
基本介绍: showModalDialog() (IE 4+ 支持) showModelessDialog() (IE 5+ 支持) window.showModalDialog() 方法用来创建一个显示HTML内容的模态对话框。 window.showMod...原创 2012-08-06 10:31:39 · 136 阅读 · 0 评论 -
JavaScript中window.showModalDialog传递参数
1、在父窗口调用window.showModalDialog ,并得到返回值 function uploadFile() { var url = "./fileuploadAction.do?method=init"; var ret = showModalDialog(url,'',"dialogWidth:470px;DialogHeight=230px;stat...2012-08-06 17:06:00 · 206 阅读 · 0 评论