i have this code below. it is working fine and printing document in firefox but it is not printing or even prompt to print the document in IE...
Please help... thanks
<script type="text/javascript">
function PrintElemm(elem) {
Popup($(elem).html());
}
function Popup(data) {
var mywindow = window.open('', 'my div', 'height=400,width=600');
mywindow.document.write('<html><head><title>Print Of - Completed ISO-Request Form</title>');
mywindow.document.write('</head><body >');
mywindow.document.write(data);
mywindow.document.write('</body></html>');
mywindow.print();
mywindow.close();
return true;
}
</script>