Bug Tracker

Modify

Ticket #7943 (closed enhancement: invalid)

Opened 2 years ago

Last modified 15 months ago

toggle focus and blur function

Reported by: myxospasm@… Owned by: myxospasm@…
Priority: low Milestone: 1.next
Component: event Version: 1.4.4
Keywords: Cc:
Blocking: Blocked by:

Description

it will be nice having a toggle function between blur and focus as there is one for hover.

Change History

comment:1 Changed 2 years ago by rwaldron

  • Owner set to myxospasm@…
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to event

Can you please provide some example use cases?

comment:2 Changed 2 years ago by radagaisus

This function might look much like .hover(). an example can be found at:  http://jsfiddle.net/BcK6W/

comment:3 Changed 2 years ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:4 Changed 21 months ago by jb

If I have a set of inputs and I want to swap their CSS between an active state to an inactive state I'd like to be able to:

$('.my_inputs').jquery_focus_blur_toggle(function() {

$(this).toggleClass('active');

});

Thank you

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.