I'm trying to scroll the page so a specific input that is in a area outside the landing screen can be visible. Something like this :
document.getElementById('my-input').scrollTo();
All examples i've seen in SO uses JQuery, but i want to do it with pure JS... How can i ?
Thanks !
.scrollIntoViewAPI isn't standard but it's widely supported. Of course, that's not "pure JS" either because it's a browser API and not part of the language.