For do this you can use the package : meteorhacks:ssr https://atmospherejs.com/meteorhacks/ssr Example : To call : ( My mail.js file … More
Tag: js
Meteor JS : How to make a helper method is triggered after a certain event?
When you want the tele of information are changed after some event or some operation you can use the Deps.Dependency. … More
How to download a excel file from html using javascript ?
Table : <table id=”mytable”> {…} </table> Button : <a download=”file.xls” href=”#” class=”btn-print” data-name=”#{mytable}”> Download Excel File </a> JavaScript : <script> $(‘.btn-print’).on(‘click’, function() … More
Meteor Js: Colorize your console with Chalk. – Nice Package
It is often helpful define different types of logs , like as error or informative logs . What about separate … More
Meteor JS : How to use aggregate function ?
To use this mongoDB functionality you need to call directly your mongoDB. So , use this to connect in the mongoDB : … More
Meteor JS : How to connect to remote/multiple databases ?
Example : var mydatabase = new MongoInternals.RemoteCollectionDriver(“”); MyCollection = new Mongo.Collection(“collection_name”, { _driver: mydatabase }); : Link for your mongo … More
Meteor Js : Calling a REST Service
In this example I will show how to call a REST service and parse this results to JSON format. Example: … More
Meteor Js : How to configure a cron call ?
Some times we need that the application can to call a function in a time interval , to do this … More
Meteor Js : How to do to send e-mail with a Mandrill account ?
First add the package : meteor add wylio:mandrill https://atmospherejs.com/wylio/mandrill When the application startup you need do this : Meteor.startup(function() { … More
Java + Javascript : How to take a user location by browser ?
In this example when the user clicks anywhere inside this form his location will be obtained by the javascript function. … More