日期:2014-05-19  浏览次数:20568 次

radio被选中然后单击产生事件
<p align="left">请选择密码找回方式:</p>
<input id="select_01" type="radio" name="select" checked="checked">001
<input id="select_02" type="radio" name="select">002
<input id="select_03" type="radio" name="select">003
<input type="button" onclick="rdClick()" value="确定">

function rdClick(){
$("#select_02").……{
……
});
}

我的想法是radio选中002的时候,单击确定按钮,跳到另一个页面,请问省略号处怎么写代码

------解决方案--------------------
用form的action提交或是windows.location.href 来进行页面跳转
------解决方案--------------------
JScript code
function rdClick(){

  if($("#select_02").attr("checked") == "checked"){

    ....

  });

}

------解决方案--------------------
xxxbutton.click();