Ciao a tutti,
ho questa pagina asp che genera il seguente codice
codice:
<html>
<head>
<link rel="stylesheet" href="../style.css">
<script language="JavaScript" src="../blocca.js"></script>
</head>
<body>
<table border="0">
<tr>
<td colspan="3" class="titolo">Lista estrazione n° </td>
<td colspan="3"><table align="center" width="75"><tr><td align="center" style="border: 1px dotted #000000"><font class="titolo">15590</font></td></tr></table></td>
<td colspan="2" align="right"><img src="../image/loghi/2.gif" width="125" onclick="self.print();self.location='confermastmp.asp?codrichiesta=15590'" alt="Stampa Estrazione" border="0"></td>
</tr>
<tr>
<td></td>
<td style="color:#000000" align="center">Pratica n°</td>
<td style="color:#000000" align="center">Scatola</td>
<td style="color:#000000" align="center">Progr</td>
<td style="color:#000000" align="center">Ubi Scat.</td>
<td style="color:#000000" align="center">Tipo Doc</td>
<td style="color:#000000" align="center">Richiedente</td>
<td style="color:#000000" align="center">Data</td>
<td style="color:#000000" align="center">Tipo Richiesta</td>
<!--<td style="color:#000000" align="center">Vecchio Num</td>-->
</tr>
<tr><td colspan="9" style=" background: #000000 no-repeat bottom right"></td></tr>

<tr>
<td><input type="text" style="width:15; height:15; border: 1px dotted #000000"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 80px;text-align:right;" value="321456"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 70px;text-align:right;" value="2000163"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 30px;text-align:right;" value="53"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 165px;" value=" -"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 100px;" value="Pratica"></td>
 
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 100px;" value="nome utente"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 90px;" value="16/03/2017"></td>
<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 125px;" value="R. Originale"></td>
<!--<td><input type="text" style="font-family: verdana; font-size: 8pt; font-weight: bold; height:15; border: 1px dotted #000000; width: 65px;" value=""></td>-->
</tr>
</table>
</body>
</html>
Questa pagina e' contenuta nel DX frame del mio sito, la struttura e' cosi
-----------------------------
| sopra |
-----------------------------
| sx | dx |
| | |
| | |
------------------------------
| sotto |
-----------------------------

Quando clicco sul logo mi dovrebbe eseguire le due funzioni javascript che ho messo nell'evento onclick:
codice:
onclick="self.print();self.location='confermastmp.asp?codrichiesta=15590'"
il problema e' che da ieri con gli ultimi aggiornamenti di Windows la finestra di stampa esce, ma invia una pagina vuota alla stampante, visualizzando la pagina in una nuova scheda senza nessun frame funziona benissimo , avete idee su cosa fare?
Ho anche provato ad usare jquery, con il plugin printThis, funziona ma non riesco a cambiare location dopo aver fatto vedere la finestra di stampa, il mio codice e'
codice:
$(document).ready(function()
 {  
 function cambiaLocation(){
  
  self.location='confermastmp.asp?codrichiesta=<%=codrichiesta%>';
 }
 
 
 $('#stampaPagina').click(function() {  
  $('#paginaCompleta').printThis({debug: false,removeScripts: true});
  
 }).delay(1000).queue(function() {
  alert("CC");
  //cambiaLocation();
 });
 
 
 
 /*
 .done(function(){
  alert("ciao");
 })
 alert("ciao");
  self.location='confermastmp.asp?codrichiesta=<%=codrichiesta%>';
 
 $('#stampaPagina').mouseUp(function(){
  //self.location='confermastmp.asp?codrichiesta=<%=codrichiesta%>';
  alert("ciao");
 });
 */
 });
dove paginaCompleta e' il BODY del documento htm, e stampaPagina e' l'immagine di prima su cui clicco.......help