Hi,
i am calling the below function from the button click in javascript
function print_page() {
alert('print_page');
// var ButtonControl = document.getElementById("btnprint");
// ButtonControl.style.visibility = "hidden";
// window.print();
}
I am getting web page error as
Line:10
'print_page' is undefined.
Pleaase help me how to rectify this
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Salman BegRank #284 · 8.8K reputationPosted Nov 3, 2016, 2:16 AM EDT
Mahesh Bodepudi91 reputationPosted Nov 3, 2016, 2:27 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Nov 3, 2016, 2:29 AM EDT
Mahesh Bodepudi91 reputationPosted Nov 3, 2016, 2:42 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Nov 3, 2016, 2:51 AM EDT
Mahesh Bodepudi91 reputationPosted Nov 3, 2016, 2:56 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts