[Solved] TypeError: $(…).live is not a function
[Solved] TypeError: $(…).live is not a function
You will get this error in the reveal jQuery plugin.
Reason: In jquery version 1.7.2 and above they removed the .live() method. So you have to change the same in the reveal jQuery plugin.
Solution:
Replace,
$(‘a[data-reveal-id]’).live(‘click’, function(e) {
with
$( ‘document’ ).on( “click”, “a[data-reveal-id]”, function(e) {
});
then issue will be resolved.
Thanks for reading!