when a user click on a link, it would open a new window in HTML it is something like this:
Code:<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
I know window.open(url) would open a new window, but how do I make it clickable??Code:document.writeln('<tr><td>' + "http://google.com" + '</td></tr>');
Any comments or suggestion would be greatly appreciated.
thanks



Reply With Quote


Bookmarks