I already had my Jquery validate function, but something happen and start showing me this error
<script>
$(document).ready(function () {
//Uncaught TypeError: undefined is not a function
$("#commentForm").validate();
});
</script>
I using fiddle to test a simple example, I add
jquery-1.8.3.min.js
jquery.validate.min.js
And works ok. Adding the error labels to the right side of each field
So I create a new basic MVC site using my visual 2013 studio . And include the scripts. And the same fiddle sample
<script src="~/Scripts/jquery-1.8.3.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
But still say .validate();
is undefine.
The weird part is field validation tooltip works, but right side labels doesn't.
NOTE: Isn't duplicated. In my MVC code I already include jquery.validate.min.js