

<html>
<head>
<script language="javascript">
function check(){
if(document.MyForm.ssssss[0].checked==true)
document.MyForm.action="1.htm"
else
document.MyForm.action="2.htm"
}
</script>
</head>
<body>
<form name="MyForm" method="post" action="" onSubmit="check();">
<input type="radio" name="ssssss" checked>转到页面一<BR>
<input type="radio" name="ssssss">转到页面二<BR>
<input name="" type="submit" value="提交">
</form>
</body>
</html>