<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<SCRIPT language=JavaScript>
function check(){
if (document.getElementById('c1').checked){
document.forms[0].action = "1.htm";
} if (document.getElementById('c2').checked){
document.forms[0].action = "2.htm";
}
return true;
}
</SCRIPT><body>
<form name="form2" method="post" onsubmit=check() >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td ><p>
<input name="radiobutton" type="radio" id="c1" value="radiobutton">
1.htm
<input name="radiobutton" type="radio" id="c2" value="radiobutton">
2.htm </p>
<p> </p>
<p>
<input type="submit" name="Submit" value="提交">
</p></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<SCRIPT language=JavaScript>
function check(){
if (document.getElementById('c1').checked){
document.forms[0].action = "1.htm";
} if (document.getElementById('c2').checked){
document.forms[0].action = "2.htm";
}
return true;
}
</SCRIPT><body>
<form name="form2" method="post" onsubmit=check() >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td ><p>
<input name="radiobutton" type="radio" id="c1" value="radiobutton">
1.htm
<input name="radiobutton" type="radio" id="c2" value="radiobutton">
2.htm </p>
<p> </p>
<p>
<input type="submit" name="Submit" value="提交">
</p></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货