How to Open URL in New Tab using Meteor.js

Today, We want to share with you How to Open URL in New Tab using Meteor.js.In this post we will show you Mastering MeteorJS Application Development, hear for open link in new tab chrome in Meteor.js we will give you demo and example for implement.In this post, we will learn about JavaScript + Meteor JS : How to open a link in new window with an example.

How to Open URL in New Tab using Meteor.js

There are the Following The simple About How to Open URL in New Tab using Meteor.js Full Information With Example and source code.

As I will cover this Post with live Working example to develop open link in new window Meteor.js, so the Meteor.js open new window not tab for this example is following below.

Read Also:  Advanced jquery Expert Tips for Developers

How to make link open in new tab or window in Meteor

Step 1: HTML Part


<template name="myapp">
  <a href="/new-window" target="_blank">Click To Open new window</a>

Free Live Chat for Any Issue

Step 1: JavaScript Part

  'click a[target=_blank]': function (event) {
    event.preventDefault();, '_blank');

And then, We have new simple found that adding here http:// works for external links for E.g.

<a href="" target="_blank">Open new window</a>

Web Programming Tutorials Example with Demo

Read :

Read Also:  jQuery Ajax File Upload Progress Bar percentage in PHP


You can also read about AngularJS, ASP.NET, VueJs, PHP.


I hope you get an idea about How to Open URL in New Tab using Meteor.js.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.