Connect with us

jQuery live() is not a function

If you are getting error like below:

Error: jQuery live() is not a function

Than you are using something live below jquery function:

jQuery(‘#element a’).live(‘click’, function)

You need to chnage this function by below which will work perfectly for me:

jQuery(document).on(event, this.selector, callback);

or

jQuery(‘#element a’).on(‘click’, ‘a’, function)

Your Answer

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.

Log In

Subscribe to our newsletter

Enter your email address to subscribe to blog and receive notifications of new articles by email.
100% Privacy. No spam guaranteed