idiomorgata
New Member
I am browsing some websites, I can click (for example in Chrome) on the link with the right button and choose OPEN IN THE NEW TAB -> the tab is opened, but in the background (the current tab stays as the main tab).I am trying to do with the link - I added to the link the attribute \[code\]target="_blank"\[/code\], but always as the main tab is displayed the new one - not the tab from which I opened the new tab.Is there any way, how to do that?EDIT: What I am trying:\[code\]javascript.js $(document).ready(function(){ $('a[target="_blank"]').removeAttr('target'); ... })<a href="http://www.google.com" id="id_attribute">link</a>\[/code\]But the page is always opened in the same window...