$('a#myLink').after('Click Me'); // You can also add an event listener to the newly added button $('#myButton').on('click', function() { alert('Button clicked!'); });