鼠标选择文本框中的文本显示到另一个文本框 [英] Mouse selecting text in a textbox show to another text Box
本文介绍了鼠标选择文本框中的文本显示到另一个文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有两个文本框,我使用鼠标在第一个文本框中选择文本,文本将显示给第二个文本框。
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.
这篇关于鼠标选择文本框中的文本显示到另一个文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文