How to open in new tab with using rich display file

Use this board for starting discussions, asking questions, and giving advice on Web programming for the IBM i platform (and predecessors.)
AkeApimok
New User
Posts: 1
Joined: Fri Jul 12, 2019 2:53 am
First Name: Apimook
Last Name: Siriploypraguy
Company Name: BAY-Auto
Phone: 0806043021
Address 1: 412 prachautit 59 bangmod thrungkru
Address 2: Bangkok 10140
City: Bangkok
State / Province: Outside Canada/USA
Zip / Postal Code: 10140
Country: Thailand
Contact:

How to open in new tab with using rich display file

Post by AkeApimok »

Dear Support

I want to open in new tab by using click mouse to open new tab in chrome.
I used window.open( ) in java-script at Onclick, but It didn't work correctly .
Can you help me in this case ?

PS: I code program by using RPGLE + Rich Disply file

Thanks for advance
Mr.Apimook
Krungsri Auto (Thailand) Company.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: How to open in new tab with using rich display file

Post by Scott Klement »

window.open() is correct.

Can you tell us what problems you had?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests