Simply add the second condition to the if using ||
.
jQuery(document).ready(function( $ ){
var Privileges = jQuery('.regeling');
var select = this.value;
Privileges.change(function () {
if ($(this).val() == '16' || $(this).val() == '14' ) {
$('.hide_on_call').css("display", "inline-block");
$('.hide_on_call_text').css("display", "block");
}
else $('.hide_on_call,.hide_on_call_text').css("display", "none");
});
});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…