jQuery ClickEvent Live
How to bind a click-event to a yet not existing button!code
$('body').on('click', '#my-button', function () { |
console.log('Bind Click Event to yet not existing button'); |
}); |
$('body').on('click', '#my-button', function () { |
console.log('Bind Click Event to yet not existing button'); |
}); |