I have a div in which there is a table . The table has as many columns that there appears a horizontal scrollbar under it. I have to highlight a textbox which is at extream right and is not in the view port. How do I get that texbox in the viewport ?
I have to highlight a textbox which is at extream right and is not in the view port
textbox.focus()
should do
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.