This version is old school.
Please find jQuery plugins on npm.
jQuery Focused
by Joel Walters
Simplify pages by focusing in on relevant items, based on values of elements (e.g. select, input, textarea).