// Find the button element that you want to attach the event to var SaveChanges = document.getElementById("SaveChanges"); SaveChanges.onclick = function() { // Change button text to say Please wait... document.getElementById('SaveChanges').innerHTML = 'PLEASE WAIT...'; document.getElementById('SaveChanges').style.cssText = 'opacity: .5; filter: alpha(opacity=50); /* IE8 and lower */'; // When the button is clicked, get the form object and submit it MktoForms2.whenReady(function (form) { form.submit(); }); }; // ]]>

Create Your Profile

Tell us more about yourself, so we can better communicate with you.