Try the following code fragment:
1.htm:
<script>
function mm()
{
var win = window.open("a.htm","","toolbars=no,status=no,width=160,height=100");
//Do Something Here
//Then Use win.close();
}
</script>
<input type=button value=search onclick=mm()>
a.htm:
<body onblur='window.focus()'>
please wait....
</body>
1.htm:
<script>
function mm()
{
var win = window.open("a.htm","","toolbars=no,status=no,width=160,height=100");
//Do Something Here
//Then Use win.close();
}
</script>
<input type=button value=search onclick=mm()>
a.htm:
<body onblur='window.focus()'>
please wait....
</body>
解决方案 »
- onclick事件 能不能同时调用两个js函数
- 请教,正则表达式以/开头怎么写 本人菜鸟 初学者 谢谢
- qq软件频道以前的焦点为什么把TABLE换成DIV就不正常了
- eval有什么用?
- 表单提交前检查的问题
- IE7怎么改变这种写法?
- 求助,关于JS的
- Android的WebView显示带有CSS的HTML有问题
- 请问javascript脚本错误提示怎么看啊?
- 如何在浏览器打印的时候自动由页面来设定纸张大小
- 如何自动控制用什么浏览器打开链接
- 我要在JavaScript中控制.Net中的Radionbutton的变化:选中其中的一个RadioButton,其它都变成radiobutton.check=false,怎么做?在线等,有
2.在数据库页面这样写
<%
response.Write("数据搜索中...")
数据库操作语句.
把值返回给查询页面
关闭自己
%>
这样也可以省很多系统资源.