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>