Answer the question
In order to leave comments, you need to log in
Why does form submit not work on iOS?
I have a form where the button is made via a div. So when you click the submit button on Android, everything works, but on iOS it does not respond to clicks. Here is the short code:
<form class="form-2" name="form-2" action="form-2.php" method="post" role="form">
<div class="submit-btn" onclick="document.forms['form-2'].submit()">Оставить отзыв</div>
</form>
Answer the question
In order to leave comments, you need to log in
Something like this is your view, but through the button codepen.io/cleric/pen/JCFhd
But JS needs to be completely rewritten.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question