Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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
Blocked by: Blocking:

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 (1)

comment:1 Changed 12 years ago by flesler

Cc: chrishue added
Resolution: invalid
Status: newclosed

What is disableTextSelect, a plugin ?

Post this to the plugin owner, reopen with some more information if you will.

Note: See TracTickets for help on using tickets.