I have this page:
Here on the homepage, you will find a button called "Get a quote". When you click on this button I want to open link "google.com".
I tried to do this with jQuery using this code but it's not working.
jQuery(document).ready(function($) {
$('.wpcf7-form-control wpcf7-submit').click(function() {
window.location = "www.google.com/index.php?id=";
});
});
This site is made with Wordpress and I used the plugin Contact Form 7
<div class="contact-frm">
<div class="right">
<?php echo do_shortcode('[contact-form-7 id="9" title="get a quote"]'); ?>
</div>
</div>
Can you please help me to solve this problem?
Thanks in advance!