The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Count filtered list items Re: Count filtered list items


Thank you @TheDoc for the response! I’m not used to Code pen…the bottom display goes blank if I click an anchor. Is the bottom part for display purposes only?

Anyways, here’s the simplified html. Hopefully it’s easier to read:)

Since I was able to get results on page load for the unfiltered list using if else, I’m going to toy around with if else statements again for the filtered results. I tried it before, but had a dumb mistake in the middle of the script, which ‘voided’ the if else at the end. Geez!!!