jQuery HTML Singular / Plural Text based on select multiple
I’m trying to get the singular/plural for the text before the array, based on how many options are selected in the array. For example, if only one selected option, it should be Result in Category 1 if two or more are selected: Results in Category 1, Category 2, and Category 3 Working demo: https://jsfiddle.net/baidoct/xnjf9b0t/12/ $("#selectKat").change(function… Read More jQuery HTML Singular / Plural Text based on select multiple