hi i have this problem.
I want after click to focus input on iphone
, with animation and focus input. It works everywhere just only iphones
is the problem.
thx for everything.
$('.focusOnInput').on('click touchstart', function(e) {
e.preventDefault();
$("html, body").animate({
scrollTop: "0px"
}, 400, function() {
setTimeout(function() {
$("input#focusOnMe").focus();
}, 100);
});
});