var count_service = jQuery('#checkboxes2 label input').filter(':checked').length; if(count_service>1){ jQuery('#servicefilter option').text(count_service+' Services Selected'); }else if(count_service==1){ chk_lbl = jQuery('#checkboxes2 label input').filter(':checked').val(); chk_lbl = chk_lbl.replace("-", " "); jQuery('#servicefilter option').text(chk_lbl); }else{ jQuery('#servicefilter option').text('Services'); }
admin Asked question December 9, 2022