How can I focus on a given table's row using javascript/jquery? -
If there is a large HTML table with several rows that do not fit on the screen, do you know which row on which focus To avoid the need to scroll with javascript / jquery?
See "ScrollIntoView" function. This is supported by most elements (I think) on all browsers
What do I do, when I want to do a table (or something like a table), behave this way, I'm sure the target table line has a special class or maybe "id" value, then I can get the line with javascript and call "scrollIntoView ()". You only need to see one thing that IE sometimes gets confused and screws the layout around the table, but if you are careful how to set scrollable elements, then it will generally work. Can be made for.
Comments
Post a Comment