Connect with us

Open a URL in a new tab (and not a new window) using JavaScript

if you are trying for Open a URL in a new tab using JavaScript use below code:

success: function(html)
			{
				window.open(html,'_blank');
				//console.log(html);
				 
			}

Your Answer

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.

Log In

Subscribe to our newsletter

Enter your email address to subscribe to blog and receive notifications of new articles by email.
100% Privacy. No spam guaranteed