Bug Tracker

Modify

Ticket #3625 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by flesler

  • Cc chrishue added
  • Status changed from new to closed
  • Resolution set to invalid

What is disableTextSelect, a plugin ?

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.