jQuery(document).on('click', '.wpcf7-submit', function(e){
if( jQuery('.ajax-loader').hasClass('is-active') ) {
e.preventDefault();
return false;
}
jQuery('.wpcf7-submit').attr('disabled','disabled');
});
is this right?
-
This reply was modified 7 years, 11 months ago by harding13.