I
ikrami Sami
Guest
Hi,
I have web mobile application, at the button in aspx page i put the below code to print the page, it is working fine in browsers (all) but when i put my application inside webview in android it not working (not response after click)
<div id="options">
<input id="printpagebutton" type="button" class="printToprinter" value="PRINT" onclick="printpage()" />
</div>
<script>
function printpage() {
//Get the print button and put it into a variable
var printButton = document.getElementById("printpagebutton");
//Set the button visibility to 'hidden'
printButton.style.visibility = 'hidden';
//Print the page content
window.print()
//Restore button visibility
printButton.style.visibility = 'visible';
}
</script>
Continue reading...
I have web mobile application, at the button in aspx page i put the below code to print the page, it is working fine in browsers (all) but when i put my application inside webview in android it not working (not response after click)
<div id="options">
<input id="printpagebutton" type="button" class="printToprinter" value="PRINT" onclick="printpage()" />
</div>
<script>
function printpage() {
//Get the print button and put it into a variable
var printButton = document.getElementById("printpagebutton");
//Set the button visibility to 'hidden'
printButton.style.visibility = 'hidden';
//Print the page content
window.print()
//Restore button visibility
printButton.style.visibility = 'visible';
}
</script>
Continue reading...