javascript - show above input.focus() -
When I Is there any way from where I could input those input fields like I also have Here are some ideas. input.focus (); Trying to input the input with the error cursor indicates on that input, but since I have a fixed header whose height is around 100px, the input field is not showing.
Input.focus (-100); ?
input.scrollTop (); , but it does not go anywhere near that input.
var top = input.offset (). Top 100; // or input.position () Top + 100; $ (Document) .scrollTop (above);
Comments
Post a Comment