I had to change the plugin from contact form 7 to ninja forms. I used a jquery to do some dome manipulation after the contact 7 form was submited. This script is not working on Ninja Forms:
jQuery( "form" ).submit(function( event ) {
jQuery(".custom-loader").addClass("active");
jQuery("#content").fadeOut("1000");
jQuery("#image").fadeOut("1000");
});
I get no error. The script is just not executed when i submit a Ninja Forms - Form. Why is that?