關於跳轉頁面的問題,在線等

yhpan1507 2004-02-05 10:47:10
function click_continue()
{
document.forms[0].continuetag.value = 6;
document.forms[0].submit();
location.href="wizard_wlan_channel.html"
}
function click_stopwizard()
{
document.forms[0].stopwizardtag.value = 1;
document.forms[0].submit();
location.href="wizard_main.html"
}


<form name="formname" action="wizard_wireless.cgi" method="POST" >
<input type="hidden" name="continuetag" value="">
<input type="hidden" name="stopwizardtag" value="">
</form>
<input type="button" value="Continue" onclick="click_continue();">

不知為甚麼我點了continue 以後,頁面跳了,可是cgi 那邊得不到值
而且我用的框架,不能用target="_blank"
...全文
26 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复

2,204

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 CGI
社区管理员
  • CGI社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧