Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#7943 closed enhancement (invalid)

toggle focus and blur function

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

Description

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

Change History (4)

comment:1 Changed 13 years ago by Rick Waldron

Component: unfiledevent
Owner: set to myxospasm@…
Priority: undecidedlow
Status: newpending

Can you please provide some example use cases?

comment:2 Changed 13 years ago by radagaisus

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

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

Resolution: invalid
Status: pendingclosed

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 12 years 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

Note: See TracTickets for help on using tickets.