Q:

ASP.NET WebForms and jQuery Validation - validate() undefined

I thought the entire purpose of jQuery was to make a developer's life easier but ever since I started learning how to use it ~3 months ago it has caused nothing but nightmares for me!
I'm now working on an ASP.NET WebForms app and am trying to use jQuery Validation since the built-in validator controls can't be easily rendered below their input counterparts. That is all I want to do; have an input with an error message that dynamically appears and disappears underneath it, but I've been banging my head against a brick wall for 5 hours trying to figure out how to do one, seemingly-incredibly-simple little thing!
I started off with a bunch of <asp:RegularExpressionValidator> and <asp:RequiredFieldValidator> controls (since you can't do both validations with one control) but didn't like how the error messages displayed inline, to the right of my inputs. So I spent ~2.5 hours trying to make ASP.NET render the damn things with display: block;, to no avail.
That's when I remembered a colleague having mentioned the jQuery Validation plugin to me about a month ago...so off I went trying to implement a solution with that. But no matter what I try, Google Chrome v.41 on Windows keeps giving me an "undefined is not a function" error on the jQuery.validate() function.
I know what you're thinking: something along the lines of "ASP.NET mangles control IDs...yada yada yada", but I've been using <pages clientIDMode="Static" /> in my web.config's <system.web> section ever since I started this project, so that's not the issue. I'm also 99.999% sure that I'm including the necessary scripts in the correct order, even though some are included in my master page and some in the content page (this shouldn't matter, should it?)
This post is already way too long, so check out the full code here.
MTIA to anyone who can tell me what the hell is going on here!

A:

I debugged your code. The problem is with your comments. Remove your comments from the code, and it will work :)

