有什么方法可以从 div 中的文本中选择前两行。
Content in div:
/*------------------------
| some content goes here |
| inside div or any |
| container in HTML. is |
| it possible to select |
| first two lines |
| displaying in browser |
----------------------- */
SelectedText = "some content goes here inside div or any"