L
l.achenza
Hallo,
I have this code that works fine in IE but not in Firefox (2.0)
Can you help me please?
Thank you
<html>
<head>
<script>
function printDocument() {
var x = document.getElementById("myDoc");
x.print();
}
</script>
</head>
<body>
<embed id="myDoc" src ="myDoc.pdf" width="550" height="550"
name="blabla">
<button onclick="printDocument()">Stampa</button>
</body>
</html>
I have this code that works fine in IE but not in Firefox (2.0)
Can you help me please?
Thank you
<html>
<head>
<script>
function printDocument() {
var x = document.getElementById("myDoc");
x.print();
}
</script>
</head>
<body>
<embed id="myDoc" src ="myDoc.pdf" width="550" height="550"
name="blabla">
<button onclick="printDocument()">Stampa</button>
</body>
</html>