Wednesday, September 19, 2012

single click call function in two times while using jquery live

The below code solve ur problem......

$('selector').die();
$
('selector').live('event', myLiveEventHandler);


Credit goes to : http://sholsinger.com/archive/2011/08/prevent-jquery-live-handlers-from-firing-multiple-times/

No comments:

Post a Comment