鼠标选择文本框中的文本显示到另一个文本框
问题描述:
大家好,
我有两个文本框,我使用鼠标在第一个文本框中选择文本,文本将显示给第二个文本框。
Hi All,
I have Two Textbox, I selecting text in first textbox using mouse that text will show to Second Textbox.
答
通过以下示例 - http://www.codetoad.com/javascript_get_selected_text.asp [ ^ ]。
这将帮助您获得可在另一个文本框中指定的选定文本。
Go through the following sample - http://www.codetoad.com/javascript_get_selected_text.asp[^].
This will help you get selected text which you can assign in another text box.