Multiple checkbox with button

What I’m trying to do is like selecting topics what the user likes before it proceeds using the next button but the problem is I don’t have any idea on how will I do it with the multiple checkbox. It’s like the button is disable at first then it will be enable after the user pick their like topics but all I can do as of now is for just one checkbox. Here are some of the codes that I’m doing, I’m sorry but I only just starting in jquery. Thanks in advance.

HTML

<a href="search.html"><input type="submit" value="Next" id="next" disabled="disabled"></a>

<ul>
  <li>
    <input class="checkbox" type="checkbox" id="chkPlant1" unchecked="checked"/>
    <label for="chkPlant1"><img src="img/plant1.jpg" /></label>
  </li>

  <li>
    <input class="checkbox" type="checkbox" id="chkPlant2" />
    <label for="chkPlant2"><img src="img/plant2.jpg" /></label>
  </li>

  <li>
    <input class="checkbox" type="checkbox" id="chkPlant3" />
    <label for="chkPlant3"><img src="img/plant3.png" /></label>
  </li>

  <li>
    <input class="checkbox" type="checkbox" id="chkPlant4" />
    <label for="chkPlant4"><img src="img/plant4.jpg" /></label>
  </li>
</ul>
<script type="text/javascript">
    
    $(function () {
      $("#chkPlant1").change(function () {
        if($('#chkPlant1').is(':checked')) { 
          $("#next").prop("disabled", false);
        }
        else {
          $("#next").prop("disabled", true);
        }
    });
  });

  </script>

181 thoughts on “Multiple checkbox with button”

  1. Pingback: cialis capsule
  2. Pingback: cheapest viagra
  3. Pingback: viagra 100mg
  4. Pingback: sildenafil generic
  5. Pingback: cialis mg
  6. Pingback: cialis germany
  7. Pingback: www.viagrakari.com
  8. Pingback: sildenafil viagra
  9. Pingback: buy generic viagra
  10. Pingback: how much is cialis
  11. Pingback: eli lilly cialis
  12. Pingback: comprar cialis
  13. Pingback: sildenafil 20 mg
  14. Pingback: canadian viagra
  15. Pingback: viagra generic
  16. Pingback: cialis vs viagra
  17. Pingback: walgreens viagra
  18. Pingback: female viagra pill
  19. Pingback: viagra gum
  20. Pingback: compra viagra
  21. Pingback: visual viagra
  22. Pingback: viagra meaning
  23. Pingback: hims viagra
  24. Pingback: sildenafil goodrx
  25. Pingback: sildenafil teva
  26. Pingback: buy viagra
  27. Pingback: viagra sildenafil
  28. My elderly parents have often been impressed by the familiar, economic waiting provided via the http://www.zpackus.com and his staff. To whatever manner, during the pandemic and since my father’s up to date position cancer diagnosis, they have really been distinguished; nothing is too onerous or too much care and they are ever after ready with forbear and advice. We can’t blame you adequately!

    Reply
  29. Collecting instruction payment inhaler. “Yes, ethical got it (Thursday)! Desire be sharp on Monday, or if instant Saturday”. Why? Have you not got one? If not I choose take off somewhere else. “Wait, I’ll check.” Yes it desire be ready in 5 minutes ! Basically in seventh heaven to fob customers inaccurate if they can’t be bothered to do their job at azithromycintok.com.

    Reply
  30. Hi, found a stupendous appraisal on an mention I was looking for, checked other sites, and reviews, pronounced on HealthyKin, and am so on cloud nine I did. Paid as a service to and checked antiquated a one days ago, and today, Friday, SOMBRE FRIDAY, no less, so a hectic day, but my package arrived crumble on time, sooner than I expected, and packaged damned, and I am so happy. Would vouch for hydroxychloroquine for sale in usa, and I devise be using them again.
    Wonderful information. Thanks.

    Reply

Leave a Comment