我试图检查价值true
,但不起作用,我很困惑,有没有人知道我错在哪里?谢谢
function upd_11_checkDividing(upd_11_whatIsClicked){
var upd_11_settedKorpus = parseInt( upd_11_whatIsClicked +1 );
var upd_11_inputId = '#checkbox_divider_'+upd_11_settedKorpus;
var upd_11_settedCheckbox = jQuery(upd_11_inputId).is(':checked');
if ( upd_11_settedCheckbox === true) {alert;};
upd_11_arrayDividedSectionBoolean[upd_11_whatIsClicked] = upd_11_settedCheckbox;
// upd_11_arrayDividedSectionBoolean works very well true/false;
}
*变量upd_11_whatIsClicked已知,它是索引......
答案 0 :(得分:0)
提醒是一个带参数消息的函数,您正在使用它:
alert;
尝试将其更改为
alert('checkbox selected');