refresh

Refresh Javascript Src

How to refresh your result when put you search any keywords. If I use innerHTML it can update the keywords that I find but when use script src i doesnt work, it only work once. This is my coding <html> <head> <title>Google Search API</title> </head> <body> <div id="box"> <textarea id="myTextarea"><...

Node.js app becomes unresponsive if I reload multiple times in quick succession

I'm developing a node.js app that displays a single page with map data (which will eventually be updated using an .ajax call). Right now, my code looks like this: app.get('/', function(req, res) { postgres.retrieve('SELECT * FROM settings', function(err, proj_data){ if (err){ res.send(500); } else{...

Simple Clock in Meteor.js or how to reload Templates?

Hey guys I#m trying with Templates in meteor.js, but how can I reload them after a given time? , for example i want to have a Template called "time" wich has to reload every second to show the current time, also a template "date" wich has to reload every minute, because evry minute the date can...