How to make link redirect stay in the current page?

Hi guys,

I have created a links ‘Delete’ text.

When I click this ‘Delete’ text link it create a new tab, By the way I’m using Google Chrome for testing.
How do I prevent it from creating a new tab and just refresh and stay in the current page.

Thank you very much in advanced.

By the way I just left click the link and it create a new tab.
I wanted it to just stay and refresh the current page.

That is a browser setting. People can set their browsers to open every link in a new tab or window. There is <a href=“…” target=“_self”> but isn’t target officially “frowned upon”? Plus I don’t know if that would override the browser setting.

Sounds like you may want to ajax a POST request instead so you don’t actually send the user anywhere.