$('#fastbill').click(function(){
if ($('#changevaluebill').attr('checked','true')){
$('#changevaluebill').attr("value","Recharge Now");
}
else {
$('#changevaluebill').attr("value","Proceed");
}
});
复选框条件不起作用。基于复选框的条件功能是否被检查
'$( '#changevaluebill')。VAL(函数(){ 回报this.checked?“立即充值':'继续' });' – 2014-10-01 13:11:27