Open link in new tab, but focus should be on the current tab

Not applicable

Hi All,
I want to open a link in new tab but focus or control should be in current form/tab.
how can I achieve this.
using below code , focus moved to new tab not stays in current tab.

top.window.open(url, '_blank'); in on change client script.
Please help me on this

Thanks in Advance

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @Community Alums 

 

https://www.servicenow.com/community/now-platform-forum/how-to-set-focus-on-tab/m-p/1112518

https://www.servicenow.com/community/now-platform-forum/opening-urls-in-a-new-tab/m-p/1088066

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Not applicable

Thanks Atul.
But this is not helpful.