複数のif
条件についてサポートが必要です。
if condition 1 & condition 2 true
両方の条件アクションが必要であることを意味します。
if(condition 1 true) {
$('.inner_wrapper').addClass('em-border-red');
return false;
}
if(condition 2 true) {
$('.cCal').addClass('em-border-red');
return false;
}
if(condition 3 true){
$('.cCal-row2').addClass('em-border-red');
return false;
}
ただし、1 つの条件のみが機能します。