<form>
<div class="clrfix">
<label for="first_name">First Name</label>
<input data-val="true" data-val-required="Your First Name is required." id="first_name" name="first_name" type="text" value="" />
<span class="field-validation-valid" data-valmsg-for="first_name" data-valmsg-replace="true"></span>
</div>
<div class="clrfix">
<label for="last_name">Last Name</label>
<input data-val="true" data-val-required="Your Last Name is required." id="last_name" name="last_name" type="text" value="" />
<span class="field-validation-valid" data-valmsg-for="last_name" data-valmsg-replace="true"></span>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="/Scripts/mvc/jquery.validate.min.js" type="text/javascript"></script>
<script src="/Scripts/mvc/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
<script src="/Scripts/mvc/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
So I am trying to understand this concept of Unobtrusive Client Validation in ASP.NET MVC 3. So I did the above, now the biggest question, how do I validate with jQuery? What exactly do I write? That is what is confusing me. How do I call the error messages and what not?
If anyone can give me any insight as to what are the next steps, I would really appreciate it.