- Code: Select all
<a href="http://google.com" target="_blank">click here</a>
How do I do this in Javascript? So a user would click on the link and it would open a new window. Here's my code
- Code: Select all
document.writeln('<tr><td>' + "http://google.com" + '</td></tr>');
I know window.open(url) would open a new window, but how do I make it clickable??
Any comments or suggestion would be greatly appreciated.
thanks


