Thursday, December 22, 2011

Open new window using a href

here is the sample code:

<a href="javascript: void(0)"
onclick='javascript:window.open("http://www.google.com");return false;'>New Window</a>

btw if you want to encode your html, can go to this site:


0 comments:

Post a Comment