Search found 1 match

by tholu
Fri 27. Mar 2015, 16:32
Forum: phpwcms Support English
Topic: Contact Form: send js with send-button
Replies: 2
Views: 8158

Re: Contact Form: send js with send-button

Actually, it is not that simple. Because after the submit-button is clicked, the form is submitted immediately and the async _trackEvent call is canceled. It works like this: (function($) { $(document).ready(function() { var submitButton = $('#ID_OF_SUBMIT_BUTTON'); if(submitButton.length > 0) { _ga...