Modify ↓
Ticket #3625 (closed bug: invalid)
Focus is disable with disableTextSelect() for input in Safari and Chrome
| Reported by: | chrishue | Owned by: | flesler |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3 |
| Component: | unfiled | Version: | 1.2.6 |
| Keywords: | Cc: | chrishue | |
| Blocking: | Blocked by: |
Description
Ex : $("input#email").disableTextSelect();
The field 'email' have no cursor in Safari and Chrome if disableTextSelect use. I have modifified jquery.disable.text.select.js for other browser over than IE and Firefox.
New code : ... } else {
$.fn.disableTextSelect = function() {
return this.each(function() {
$(this).bind('mousedown.disableTextSelect', function() {
this.focus();set focus... return false;
});
});
};
...
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

What is disableTextSelect, a plugin ?
Post this to the plugin owner, reopen with some more information if you will.