Answer the question
In order to leave comments, you need to log in
Why doesn't file upload work on Safari?
Tried dozens of different methods, nothing helps! This code works on chrome
$(".cd-popup1 .wpcf7-submit").on("click", function (event) {
if ($("#email1").val() != "") {
setTimeout(function () {
event.preventDefault();
location.href = 'абсолютный адрес на пдф';
}, 3000);
} else {
return false;
}
});
<div class="cd-popup1" id="openModal">
<div class="cd-popup-container">
<div class="andy_input_wrap">
<div class="popup_title__wrap">
<h3 class="popup_title">Sign Up To Download</h3>
</div>
<label>[text your-name placeholder "Your company name"] </label>
<label>[email* email-139 id:email1 placeholder "Your email"] </label>
[submit "SEND" class:cd-popup1-btn ]
</div>
<a href="#close" class=" close" title="Закрыть" >X</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question