0
A
回答
0
我认为这可能是浏览器需要处理 - 不确定每个浏览器是否以相同的方式处理输入中的文本选择。
但是,您可以检查焦点和模糊事件,您是否熟悉这些?
0
有一个插件可以检测它是否被选中:http://plugins.jquery.com/project/selectedText。选择文本时,我不确定。
1
它出现$(“input”)。select();能够检测是否选择了文本。
我不完全确定你想完成什么,但你可能想查看http://api.jquery.com/select/的基本演示功能。随意提供更多关于如何实现这一点的细节,我很乐意尝试构建演示。
相关问题
- 1. jquery select with select?
- 2. jquery create select select append document.ready
- 3. jquery select value passing
- 4. Jquery Select Validation
- 5. jquery select option
- 6. jquery select dd
- 7. jquery xml select
- 8. jquery select image
- 9. jquery select href build
- 10. jQuery select parent
- 11. jquery select array
- 12. jquery is select selected
- 13. jQuery .on()select
- 14. jquery select events
- 15. jQuery select value undefined
- 16. JQuery IE Select Issue
- 17. Cascading Select Boxes - jquery
- 18. jquery select元素
- 19. jQuery Select/Dropdown Selector
- 20. jquery radiobutton select value
- 21. jQuery select parent
- 22. jquery select table columns
- 23. jquery select all parents
- 24. jquery select parent css
- 25. 填写jquery select
- 26. jQuery .select工程,但Javascript .select不是
- 27. 奇怪 - jQuery .hover()调用select select?
- 28. jquery select parent elements sibling
- 29. jquery get select()选择
- 30. jquery select without form submit
你需要找到一个合适的jQuery插件。 – zzzzBov 2010-11-11 15:22:46
而不是只是要求某人为你写代码,你能提一下你所尝试过的吗? – 2010-11-11 15:23:02
在我的情况下:文本框的onfocus事件我选择了文本框的值usig(this).select()和文本框的单击事件我想检查文本是否被选中,然后取消选择文本并将光标放在其他文本框明智地选择文本框的值 – munish 2010-11-11 15:34:45