<body>
<form name="form1" method="get" >
<input name="biao" type="radio" value="1" checked> A类信息 
<input type="radio" name="biao" value="0">B类信息
<input name="Submit" type="button" class="Tips_bo" value="搜  索" onclick='check()'>
</form>
<script>
if(document.form1.biao.item(0).checked)
{
   document.form1.action='result1.asp';
}
else
{
   document.form1.action='result2.asp';
}
</script>
</body>

解决方案 »

  1.   

    少写了一个:<body>
    <form name="form1" method="get" >
    <input name="biao" type="radio" value="1" checked> A类信息 
    <input type="radio" name="biao" value="0">B类信息
    <input name="Submit" type="button" class="Tips_bo" value="搜  索" onclick='check()'>
    </form>
    <script>
    function check()
    {
    if(document.form1.biao.item(0).checked)
    {
       document.form1.action='result1.asp';
    }
    else
    {
       document.form1.action='result2.asp';
    }
       document.form1.submit();
    }
    </script>
    </body>