關於跳轉頁面的問題,在線等
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"