Nidhi Donga

Nidhi Donga

  • NA
  • 88
  • 8.1k

disable printing of button during pdf generation using java

Sep 18 2019 11:56 PM
hey i am using below function of java script to print screen and generate pdf but it also prints buttons included in the page but i dont want to print the buttons so how to do it using javascript?please help me
 
i am using below function:
 
<script type="text/javascript">
function myFunction() {
window.print();
}
</script>

Answers (1)