I’m trying to set up a filter using jQuery. I’ll have a certain amount of divs, each with a numeric value (let’s say price).
I want to have a textbox and button that filters out any divs that are higher than the value given. So for instance, if I enter 10 and hit filter, all divs with a numeric value of 10 or above are hidden.
I can only find filter scripts that are executed via buttons like this, but none of those use a numeric value.
Any help is greatly appreciated. Please bear in mind that my JavaScript skills are limited!
Here is the thing:
http://jsfiddle.net/SMPAq/1/
UPDATE:
Ok, here is the whole thing: