How can I achieve the function of jumping to a specified line?

for example, a text input comes in, and I now judge that it has 50 lines on the page, and now I click the button to pop up an input box to enter any number less than 50, such as 48, so how do I make the page jump and navigate to 48 lines?

Mar.17,2021

think about it and do it.


get the number of lines of text, 48: number of lines, and then highlight


a tag anchor to try

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e331-2c40c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e331-2c40c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?