I have two input and When #coin-sell-only is checked, I'd like to show only elements(.container-top) which havent finished by the date (in the code). and when #coin-all is checked, I'd like to show all of elements even though its already finished. Thank you in advance!
<input type="checkbox" checked id="coin-sell-only">
<input type="checkbox" id="coin-all">
<div class="container-top">
<div class="feed-info">
<p>ends in : 09.05.2018</p>
</div>
</div>
<div class="container-top">
<div class="feed-info">
<p>ends in : 09.07.2018</p>
</div>
</div>
<div class="container-top">
<div class="feed-info">
<p>ends in : 09.02.2018</p>
</div>
</div>
Aucun commentaire:
Enregistrer un commentaire