I am loading a form via ajax and usind the new .on() to load the jQuery validate plugin is not loaded before I press the submit a second time. I understand why I think. The
You need to add a selector in the call to on to make a delegate instead of a regular bind:
on
$(document).on("submit", "#myform" function(event){ $(this).validate(); event.preventDefault(); });
If possible, bind the delegate to an element closer to the form than the entire document.