<script
language="javascript"
type="text/javascript">
function
PopPrint() {
var
originalContents = document.body.innerHTML;
var
prtContent = document.getElementById('<%=Receipt.ClientID
%>');
var
printContents = prtContent.innerHTML;
document.body.innerHTML
= printContents;
window.print();
document.body.innerHTML
= originalContents;
}
</script>
No comments:
Post a Comment