What I want to do is make a link appear after a user clicks a link, which would make a new tab open. So basically, the user clicks the link and it opens in a new tab, and back on the website a link appears.
[code=html] <a href="#" onclick="window.open('newLink.htm');this.style.display='none'">Click Me</a>[/code]
This should be close:[code=html] <a href="#" onclick="window.open('newLink.htm');this.style.display='none'">Click Me</a>[/code][/QUOTE]
[code=html]<a href="#" onclick="window.open('newLink.htm');this.style.display='none';document.getElementById('newLink').style.display='inline'">Click Me</a> <a href="#" onclick="dosomething()" style="display:none" id="newLink">Click Here to Continue</a>[/code]
Help @Lukedude100 spread the word by sharing this article on Twitter...