首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

radio被选中其后单击产生事件

2012-10-19 
radio被选中然后单击产生事件p alignleft请选择密码找回方式:/pinput idselect_01 typeradio

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();

热点排行