I have a form with text fields, text areas and checkboxes. At the moment, to enable/disable submit, i’m doing this:
$("form").change(function(){toggleSubmit()});
$("form").keyup(function(){toggleSubmit()});
Is there a way to do this in a one-liner?
Or: