Currently, I have implemented JQuery's
$( ".button" ).remove();
function to get rid of all the buttons on my webpage immediately after a user clicks the print PDF button that changes the HTML page into a PDF. Nevertheless, once this process is done, I wish for the buttons to reappear without needing to refresh the page. Is there a method to achieve this?