Hello,
We have a search filter in different listing.
If one have a value for filter for this current listing, the other listing keeps the search value. We would like to reset each time we call the new listing.
We put this code in the Header box.
This only clears the value of the input, but the listing keeps the list with filter. This should eval the "empty" value of the input?
What's wrong with that?
Thanks for you help
Bertrand
We have a search filter in different listing.
If one have a value for filter for this current listing, the other listing keeps the search value. We would like to reset each time we call the new listing.
We put this code in the Header box.
<input type="search" name="srch" id="srch" value="" placeholder="Filter" style="float:right" class="form-control A" />
<script type='text/javascript' > jQuery(document).ready(function(jQ){ jQ("#srch").val('');} ); </script>
This only clears the value of the input, but the listing keeps the list with filter. This should eval the "empty" value of the input?
What's wrong with that?
Thanks for you help
Bertrand