title: Jquery.Validate -> TypeError: 'undefined' is not a function
body: <p>I thought I just made a mistake in my rules, but this error has me baffled!</p>
  
  <pre><code> TypeError: 'undefined' is not a function (evaluating 'validator.settings["on"+event.type].call(validator,this[0])')
  </code></pre>
  
  <p>I wrote a separate custom rule below first that uses the jquery.payment library to validate the CC number.  It appears to be jquery.validate.min that is throwing the error though!  Anyone any idea?</p>
  
  <p>Here are my rules:</p>
  
  <pre><code>jQuery.validator.addMethod("jqPaymentCreditCard",
     function(value, element) {
     return this.optional(element) || 
  
  $.payment.validateCardNumber(value);
          }, 
          " Invalid credit card number.");
  
      $("#SSLForm").validate(
      {        
          onkeyup: true,
          errorClass: "is-invalid",       
          errorPlacement: function(error, element) {
              if (element.attr("name") == "KKMonth" ) {
                  error.insertAfter("#KKYear");
              } else {
                  error.insertAfter(element);
              }
          },
          rules: {
  
              CreditCardHolder: { required: true },
              KKnr: { required: true , jqPaymentCreditCard: true},
              KKMonth: { required: true },
              KKYear: { required: true },
              CCCVC: { required: true, digits: true, minlength: 3, maxlength: 4 }
          },
          messages: {
              CreditCardHolder: { required: $("#CreditCardHolderRequiredHdn").val() },
              KKnr: { required: $("#KKnrRequiredHdn").val(), jqPaymentCreditCard: $("#KKnrRequiredHdn").val() },
              KKMonth: { required: $("#KKMonthRequiredHdn").val() },
              KKYear: { required: $("#KKYearRequiredHdn").val() },
              CCCVC: { required: $("#CCCVCRequiredHdn").val(), digits: $("#CCCVCDigitsHdn").val(), minlength: $("#CCCVCDigitsHdn").val(), maxlength: $("#CCCVCDigitsHdn").val() }
          },
         tooltip_options: {
                  CreditCardHolder: {placement: 'right' },
                  KKnr: { placement: 'right' },
                  KKMonth: { placement: 'right' },
                  KKYear: { placement: 'right' },
                  CCCVC: { placement: 'right' }
         }
  
      });
  </code></pre>