document.write("关闭")
来源:互联网 发布:java 物联网 编辑:程序博客网 时间:2024/05/18 14:26
1 OpenWindow=window.open("", "newwin", "height=250, width=250,toolbar=no ,scrollbars="+scroll+",menubar=no");
2 OpenWindow.document.write("<HTML>");
3 OpenWindow.document.write("<TITLE>例子</TITLE>");
4 OpenWindow.document.write("<BODY BGCOLOR=#ffffff>");
5 OpenWindow.document.write("<h1>Hello!</h1>");
6 OpenWindow.document.write("New window opened!");
7 OpenWindow.document.write("<FORM> ");
8 OpenWindow.document.write("<INPUT TYPE='BUTTON' VALUE='关闭' onClick='window.close();'>");
9 OpenWindow.document.write("</FORM>");
10
11 OpenWindow.document.write("</BODY>");
12 OpenWindow.document.write("</HTML>");
13 OpenWindow.document.close();
- document.write("关闭")
- JavaScript各种对话框(alert、confirm、prompt),window.open打开关闭窗口,document.write输出内容
- 输出内容(document.write)
- document.write()
- document.write();
- document.write()
- document.write()
- document.write
- document.write(" ") document.writeln(" ")
- document.write()及其样式、位置控制
- js中document.write(转)
- 2-1输出内容(document.write)
- Javascript 输出内容(document.write)
- document.write()/document.open()/document.close() 用法
- FireFox 的 Document.write
- document.write 之重写
- IE 解析document.write
- window.document.write()
- 不能不求上进
- 测试文章
- WPF和Silverlight依懒属性文章杂乱整理
- JavaScript核心对象参考手册-------window对象
- VBScript Replace 函数
- document.write("关闭")
- 创建JDBC连接
- CVS的日常使用
- JS操作css的float属性的特殊写法
- AJAX 同步调用与异步调用的问题
- OGRE支持.NET和JAVA调用
- php 判断字符串是中文还是英文
- VBScript InStr 函数
- 【每天一个demo】创建一个Employee 对象