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| https://test.com] \
I have tried
{code:javascript}
<a href="javascript:window.close();" "https://www.w3schools.com/" >Visit W3Schools.com!</a>
{code}
Now in javascript you cannot close the page unless it was opened with javascript:window.open() Any ideas will be appreciated.
Thank You
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="https://somewhere.com" target="_blank">Somewhere</a>
Thanks Nic I had tried that, it did not work.
In case anyone is interested this is the field I am trying to manipulate to open in the same window if possible. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.