jQuery’s live() is deprecated. Use on():
from: $(‘.button’).live(‘click’, function () {}
to: $(‘body’).on(‘click’, ‘.button’, function () {}
jQuery’s live() is deprecated. Use on():
from: $(‘.button’).live(‘click’, function () {}
to: $(‘body’).on(‘click’, ‘.button’, function () {}
@Jtsternberg Or, change body to something a little closer in the DOM, that you know will exist before the key element is needed.