JavaScript + Meteor JS : How to open a link in new window ?

Use :

var win =, ‘_blank’);

Example in a Meteor Js application:


<template name="Clip">
    <div class="card-container">
      <h4 class="watch"> <a href="#"> Go to </a></h4>

clip.js = {
    'click .watch' : function(e){
        var win =, '_blank');


1 Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s