[buddypress-trac] [BuddyPress] #4969: Using Jquery .live() insteed .click()

buddypress-trac noreply at wordpress.org
Tue Apr 30 15:15:35 UTC 2013


#4969: Using Jquery  .live() insteed .click()
----------------------------+-----------------------------
 Reporter:  megainfo        |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  All Components  |    Version:
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 I suggest using jquery .live() function instead  .click() in all
 javascript events.

 .click() is not applied if the content is recovered from ajax response (
 for example, if you click 'add friend' then ajax answer is an html input
 button 'Cancel Friendship Reques' , the .click() event is not applied to
 this new button).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4969>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list