Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

print buttons on web pages do not work

  • 2 balas
  • 2 memiliki masalah ini
  • 20 kunjungan
  • Balasan terakhir oleh seatommyboy

more options

My job uses a print button on their web pages for certain things. When I click on the print button, nothing happens. I can print the web page use ctrl+p or selecting print from the menu, but it doesn't print the webpage correctly. The print button works fine in IE and edge, but I do not wish to use either of those browsers. Any ideas on how to ge this to work? I must add, my work has relied on IE for years but now that IE is going away, they are redesigning the web pages to work with other browsers. So, I think it is quite possible that this is an issue with their web sites.

My job uses a print button on their web pages for certain things. When I click on the print button, nothing happens. I can print the web page use ctrl+p or selecting print from the menu, but it doesn't print the webpage correctly. The print button works fine in IE and edge, but I do not wish to use either of those browsers. Any ideas on how to ge this to work? I must add, my work has relied on IE for years but now that IE is going away, they are redesigning the web pages to work with other browsers. So, I think it is quite possible that this is an issue with their web sites.

Semua Balasan (2)

more options

You can check the Web Console for possible related messages.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected to see if Firefox at least sees this button and whether there is an onclick handler attached to it or an event label appended.

more options

Unfortunately, I'm not fully sure what you're talking about for the handler, but this si what I see when I use the Inspect Element <input type="button" value="Print Page Click Here" class="initial2" onclick="javascript:document.execCommand('print',false,null);" id="btnPrintPage" name="btnPrintPage"> At the end of that is a button that says event, when I click it: function onclick(event) {

 javascript: document.execCommand('print', false, null);

}

There is also a web address in the event part, but I don't think I can share that site here.