I want to clear the check box and text box that reside on my form by the click of the button. I was able to clear the Text boxes, but check box is not clearing up. Below is my entire code.
Code to clear the check boxes and Text boxes:
<script src="Scripts/jquery-3.1.0.min.js" type="text/javascript"></script>
 <script type="text/javascript">
    $(document).ready(function () {
        $("#btnReset").click(function () {
            $("input[type=checkbox]").removeAttr('checked');
            $("input[type=text]").val("");
            $("textarea").val("");
        });
    });
I also tried putting
 $('.chkPool').each(function () { this.checked = false; });
instead of
$("input[type=checkbox]").removeAttr('checked');
both the above lines does not work.
The reset button that is clicked to clear text boxes and checkboxes:
<input type="button" id="btnReset" value="Clear Fields" />
The check box that I am trying to clear, but is not working is below:
 <asp:CheckBox ID="chkPool" runat="server" Text="Pool" />
any help will be appreciated.
