如何在TextBox或TextArea中获取选定的文本? [英] How To Get Selected Text in TextBox Or TextArea?

查看:91
本文介绍了如何在TextBox或TextArea中获取选定的文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们
我有1个文本框或TextArea,我想在其中通知有关选定的文本并获取文本; ???
JavaScript具有此功能吗?

Hi Dear my Friends
i have 1 textbox or TextArea and i want to Inform About Selected Text in its and Get The Text;???
JavaScript Has This Function?

推荐答案

Try
http://curiositybeyondcontrol.blogspot.in/2012/04/get-selected-text-from-text-box-using.html [ http://www.tek-tips.com/viewthread.cfm?qid=1209522 [ ^ ]需要处理的事情(尽管不是确切的解决方案).
Try
http://curiositybeyondcontrol.blogspot.in/2012/04/get-selected-text-from-text-box-using.html[^].

You can also visit http://www.tek-tips.com/viewthread.cfm?qid=1209522[^] which gives you something to work on (although not the exact solution).


这篇关于如何在TextBox或TextArea中获取选定的文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆