49
Views
3
Comments
open print window in another tab in browser traditional web

i use module for web blocks and another module for screens in one screen in table data there are print button this button has ajax submit function with trigger to navigate me to another screen print i set in preparation of print block runjavascript function and write window.open(_blank)  and another window .print() problem is when i click on print button print window open in the same page i want it open in another tab 













90 

2024-05-24 10-11-39
Walter Ruço

Hi Reem,

I think the best option to open a page in a new tab is to use a link instead of a button.
Note that you can style a link to look like a button.

OpenAndPrintNewTab.gif
2023-10-21 19-42-11
Tousif Khan
Champion

Hello

You can check and try if this helps, this is similar what you wanted to achievve.

http://jsfiddle.net/Sarathv15/8dXvt/420/

Best regards

Tousif

2024-05-24 10-11-39
Walter Ruço

Hi Reem, 
Please see the attached module.
The module shows my interpretation of your issue. Let me know if I understood well.



LAB_Print.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.