Skip to main content

Bug Tracker

Side navigation

#3625 closed bug (invalid)

Opened November 19, 2008 04:47PM UTC

Closed November 19, 2008 10:44PM UTC

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;

});

});

};

...

Attachments (0)
Change History (1)

Changed November 19, 2008 10:44PM UTC by flesler comment:1

cc: → chrishue
resolution: → invalid
status: newclosed

What is disableTextSelect, a plugin ?

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