I have the below snippet of input tags which are not server controls so unable to use required field validators. So i want to use validators using jquery or java script.Can anyone help me with this.
<div id="win">
<table>
<tr>
<td>
<div>
<label id="lblname" for="Name"(required)>Name</label>
</div>
<div id="dname">
<input data-bind="value: data.Name" id="inpName" />
</div>
</td>
<td>
<div>
<label id="lblend" for="End"(required)>End</label>
</div>
<div id="dend">
<input data-bind="value: data.end" />
</div>
</td>
</tr>
</table>
</div>
<script>
$("#win").validate();
</script>
tried using this but didnt work.