Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能的重复: jQuery 在文本区域中设置光标位置, 指定在文本区域内聚焦的位置
我有一个多行的文本区域。比方说 10. 如何将光标设置在第三行?