Created
May 17, 2019 17:56
-
-
Save jhned/d97d3991573650a4b54f34fc4755115b to your computer and use it in GitHub Desktop.
After mail sent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener( 'wpcf7mailsent', function( event ) { | |
(function($) { | |
$('.beforeSuccess').css('display','none'); | |
$('.afterSuccess').css('display','block'); | |
}(jQuery)); | |
}, false ); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment