Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    stampa se non è vuoto

    Ho provato questo variabile se il db non è vuoto, va a stampare, invece se è vuoto, vorrei che appare l'alert.... Ma non mi funziona... Grazie



    codice:
    <script language="vbscript">
    
    sub stamp()
      <% if badge.EOF or BOF then %>
      if (confirm("Chiudere questa finestra che non è possibile stampare la ricevuta?"));
      window.close()
      
      <% else %>
      print
    window.close()
    <% end if%>
    end sub 
    
    </script>
    </head>
    
    <body onLoad= stamp()>
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

  2. #2
    nessuno mi aiuta?
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.