$('#home-btn').on('click', function(e) {
$('.settings-container').css('display', 'none');
$('.container').css('display', 'block');
$('.panel-heading').prepend(global_recipient);
});
Therefore, when I click a button (more than once), it will be added to my container panel title. I did not understand how to do this just for adding, so that it would not overflow my heading. Any advice / help is greatly appreciated, thanks.
source
share