Return to Snippet

Revision: 20526
at November 18, 2009 03:45 by itsmeritesh

Initial Code
function myOpenWindowCode()
		  var oWin ="", '_blank');
					if (oWin) {
						if (oWin.focus) oWin.focus();
						return false;
					oWin = null;
					return true;

Initial URL

Initial Description
Call this function with a URL and it will open it in a new browser window. Its synonymous to auto clicking a link with the target="_blank" attribute set.

Initial Title
Function to Open URL's in a new browser window

Initial Tags

Initial Language