Bug Tracker

Modify

Ticket #5852 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

.live() support for multiple types

Reported by: iraebrasil Owned by: brandon
Priority: major Milestone: 1.4.1
Component: event Version: 1.4
Keywords: Cc:
Blocking: Blocked by:

Description

This enhancement is to provide a more uniform API.

Today the user can: jQuery('.specialdivs').bind('click mycustom'function(){

jQuery(this).css({background:'red'})

});

This could be also valid: jQuery('.specialdivs').live('click mycustom'function(){

jQuery(this).css({background:'red'})

});

Change History

comment:1 Changed 2 years ago by john

  • Priority changed from trivial to major
  • Status changed from new to closed
  • Resolution set to fixed

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.