[jQuery] Find and Remove Elements
I am working a page which will filter search results based on user
input via checkboxes or sliders. The question I have is what is the
best way to identify and remove elements based on a value. Take this
HTML structure as an example (produced via PHP).
<div id="searchResult_16" class="searchResult">
<div id="searchResult_17" class="searchResult">
<div class="resultTitle">Roast Beef</div>
Then the user uses a slider to send the maximum price as 7.00. How
would I, using jQuery obviously, find the elements whose resultPrice
is higher than 7.00 and remove it from display, not totally remove it
from the DOM, just hide it?
Essentially, I am looking at a client side filter, but I just am not
sure how to approach it.
jQuery mailing list