close browser from page link <a href>

kayode_faith February 29, 2024

I am seeking help or pointers with this request in the Jira service desk portal

User is asking when this link is clicked, the page opens in itself or closes.

{color:red}*Please Click Here* {color} [to submit a New Vendor Request|] \

I have tried 

<a href="javascript&colon;window.close();" "" >Visit!</a>

Now in javascript you cannot close the page unless it was opened with javascript&colon;  Any ideas will be appreciated.


Thank You

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Welcome to the Atlassian Community!

You should add the "new window/tab" in your link.  Technically, the web does not support this, but you can easily trick it into doing it.  For example

<a href="" target="_blank">Somewhere</a>

kayode_faith February 29, 2024

Thanks Nic I had tried that,  it did not work.    

2024-02-29_21-32-53.pngIn case anyone is interested this is the field I am trying to manipulate to open in the same window if possible.  Thank you


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events