You also have a reference to jQuery 1.2.6 as well as 1.3.2; near the bottom of the page:
<script type="text/javascript" src="/lib/javascript/jquery-1.2.6.js"></ script> On Apr 15, 1:44 pm, Thomas Allen <thomasmal...@gmail.com> wrote: > No, that's not it. The scripts are ordered: > > <script src="/lib/javascript/jquery-1.3.2.js" type="text/javascript"></ > script> > <script src="/lib/javascript/jquery.validate.min.js" type="text/ > javascript"></script> > > Which is why only one exception is thrown. If I flip the order of > those two, two exceptions are thrown, one for the missing jQuery > object, and another for the validate method. > > Ignore the reference to "validate.js" in the <head>, that's not being > used here. > > Thomas > > On Apr 15, 4:39 pm, Eric Garside <gars...@gmail.com> wrote: > > > It's the order of your includes. In the first page, you're including > > the validation plugin before you're including jQuery. The result is > > that, when validation attempts to enter itself into the jQuery > > namespace, jQuery is "undefined", so it just dies within it's > > enclosure. > > > On Apr 15, 4:30 pm, Thomas Allen <thomasmal...@gmail.com> wrote: > > > > These two pages do the exact same thing: Apply some basic validation > > > rules to a form. The only difference is that the first one includes > > > the scripts in <body>, not <head>. > > > > 1.http://www.asce.org/freemembership/ > > > 2.http://content.asce.org/conferences/texasstudentdays/company_registra... > > > > The second one works, and the first doesn't. For some reason, the > > > first site doesn't bind the validate method to jQuery. > > > > $.fn.validate() > > > > throws an exception in the console. > > > > What's going on, and how can I fix this problem? The file itself is > > > definitely being loaded. > > > > Thanks, > > > Thomas