Scroll to top

How to use jquery on checkbox in worpdress ?

<html lang=”en”>
<meta charset=”utf-8″>
<title>Check the Status of Checkboxes</title>
<script src=””></script>
<script type=”text/javascript”>
                alert(“Checkbox is checked.”);
            else if($(this).is(“:not(:checked)”)){
                alert(“Checkbox is unchecked.”);
    <p><input type=”checkbox”> Check or uncheck the checkbox to get the status.</p>

Leave a Reply

Your email address will not be published. Required fields are marked *