window.open(("test.asp?id="+<%=checked_id%>+"&query_str="+<%=query_str%>+"&query_name="+<%=query_name%>),"", "scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,width=640,height=400");
解决方案 »
- windows server 2008 r2 64位的操作系统,php连不上mysql数据库,压根没加载,该怎么配置?
- php 文件中有一段排序功能,如何应用?
- 不得不说phpstorm 6的代码提示功能用户体验越来越强悍了..
- 配置glype 出问题
- js 里面怎么用php函数返回的数组
- Data truncated for column 'spending' at row 1
- 急聘PHP网站开发人员
- 走过路过的都来看看啊
- 新手问题:如何判断会员身份(最好能给出详解,分不够可以加)
- 如何将已经上搜索出来的结果按照用户的意愿排序?
- 我的一个数据库查询语句,请朋友们看看是不是有错。
- 请问怎么用php语句调用系统时间?
<script language="javascript">
function windowopen()
{
document.all.form1.submit;
newwindow=window.open("","target", "height=210, width=240, toolbar =no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")}
</script>在表单的地方可以这么引用
<form name='form1' action='upload.php' onsubmit='windowopen()' target=target>
<td>
<input type=hidden name=path value=$path>
<input type=submit value=上传文件到当前目录>
</td>
</form>
这句我没有加PHP标识符,你自己改一下啊。不是完全拷贝过去了吧
function formsubmit()
{
theForm = document.form1;
win = window.open('','aa','scrollbars=yes,top=50,left=100,width=520,height=400,'); theForm.target="aa"; //打开窗口的名字标示
theForm.submit();
}
</script><form name='form1' action='aa.php>
<td>
<input type=text name=id value="">
<input type=text name=name value="">
<input type=button value=确定 onclick='formsubmit()'>
</td>
</form>这个方法绝对可以,先打开一个空的窗口,然后将提交的目标指定到打开窗口