E pluribus unum
Coder
Hi, could you help me? From this page I'm trying to scroll and focus to "N. inventario".
I have this script to focus the field, but I would like it to autoscroll about 2 cm above the position to which it leads:
I found this googling, but I can't apply it to my case...
Thank you very much!
I have this script to focus the field, but I would like it to autoscroll about 2 cm above the position to which it leads:
JavaScript:
focusme = document.querySelector('#DetailsOpen_Array04 > div > label:nth-child(2) > input');
focusme.focus();
I found this googling, but I can't apply it to my case...
Thank you very much!
Last edited by a moderator: