I was wondering if this is possible: I use a contact form 7 in my Wordpress page. After the user has completed the form an hit "Submit" I want to to have the "Submit" text changed to "Sent" so the user know has a feedback that the message went through. Thank you very much! :)
<script>
document.addEventListener('wpcf7mailsent' , function( event ) {
jQuery('#button-id').text('sent');
}, false );
</script>
Try this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.