I\'m trying to use the jquery validate plugin to validate a form and submit the contents with an ajax request.
This code is in the head of my document.
Drupal 8
Drupal 8 does not include JS-libraries to pages automaticly. So most probably if you meet this error you need to attach 'core/jquery.form' library to your page (or form). Add something like this to your render array:
$form['#attached']['library'][] = 'core/jquery.form';