As you know that contact form 7 provides diffenent action hooks.Here, you can simply use on_sent_ok Javascript action hook.
Through this hook, you can add a JavaScript code which you want to execute after the form is successfully submitted. You can add code through Additional Settings field at the bottom of the contact form page.

Please enter the below mentioned code into Additional Settings field

 

Team SQCMSPHPWordPresscontact form 7As you know that contact form 7 provides diffenent action hooks.Here, you can simply use on_sent_ok Javascript action hook. Through this hook, you can add a JavaScript code which you want to execute after the form is successfully submitted. You can add code through Additional Settings field at the bottom...