Here is my html page:
<form id="userworklog" action="#" method="post">
<div id="userlogs" class="userlogs">
<table id="worklog">
<tr>
<th>Strt date</th>
<th>Projects</th>
<th>Charge# Field</th>
<th>Employee Name</th>
</tr>
<tr>
<td>
<input type= "date" id="startdate" name="startdate" class="required">
</td>
<td>
<input type="text" name="SearchBox" id="SearchBox" placeholder="Search...." />
<br />
<select id="projectsList" class="textFld" multiple="multiple"/>
</td>
<td>
<input type="text" id="comboBox" placeholder="Search.." />
<ul id="userList" class="nobull" style="width: 300px; height: 80px;list-style: none; overflow: auto">
</td>
</tr>
</table>
I have submit and reset button. We are dynamically loading the data and populating to html. When I submit reset the input " start date" is only resetting. To reset the check list I used jQuery
$("#reset").on("click", function () {
$("#checkbox").attr("checked", false);
});
I could reset the search of project and employee .unless I press enter the project list data is not viewed in the html