It’s not easy to print the page content, instead of

Time:2019-12-9

 

123
/***Modification*/
function changeTextareaValue(obj) {  $(obj).html(obj.value);}
/**
* printing
*/
function clickPrint(){
  bdhtml = window.document.body.innerHTML;
  prnhtml = $('#container').html();
  window.document.body.innerHTML = prnhtml;
  window.print();
  window.document.body.innerHTML = bdhtml;
}