Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
window.print() reagiert nicht
#4
Vielleicht mit popup.print() ?

Code:
const sendMessageId = document.getElementById("Button_click");
if (sendMessageId) {
  sendMessageId.onclick = function() {
    const popup = window.open("https://www.example.com", "popup", "width=400,height=300");
    popup.onload = function() {
      popup.print();
    };
  };
};
Zitieren


Nachrichten in diesem Thema
window.print() reagiert nicht - von Oly - 24.02.2023, 15:07
RE: window.print() reagiert nicht - von Oly - 24.02.2023, 16:41
RE: window.print() reagiert nicht - von ollelinse - 24.02.2023, 17:14
RE: window.print() reagiert nicht - von Oly - 24.02.2023, 18:55
RE: window.print() reagiert nicht - von Oly - 25.02.2023, 12:12
RE: window.print() reagiert nicht - von rzscout - 25.02.2023, 13:18
RE: window.print() reagiert nicht - von Oly - 25.02.2023, 13:43
RE: window.print() reagiert nicht - von Oly - 25.02.2023, 20:52
RE: window.print() reagiert nicht - von Oly - 26.02.2023, 18:37
RE: window.print() reagiert nicht - von Oly - 26.02.2023, 21:26

Gehe zu:


Benutzer, die gerade dieses Thema anschauen:
2 Gast/Gäste