I need the page to go down to the footer when it is clicked on a input
.
In fact when the user clicks on input
and starts typing, the jQuery autocomplete is hidden by the cellphone keypad, so when clicked on input
and the mobile keyboard appears the page should go down to the end , so the input
is more visible and you can see the autocomplete options.
I tried:
$("input").click(function(){
$("html, body").animate(function(){
scrollBottom: 1000
}, 500)
});
but scrollBottom
does not exist if I'm not mistaken ...