Zazar Homepage
Forum Home Forum Home > Zazar > Problem Reports
  New Posts New Posts RSS Feed - zWeatherfeed does not refresh
  FAQ FAQ  Forum Search   Register Register  Login Login

zWeatherfeed does not refresh

 Post Reply Post Reply Page  <12
Ned View Drop Down

Joined: 26 Sep 2013
Location: hamilton, ontar
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ned Quote  Post ReplyReply Direct Link To This Post Posted: 31 Oct 2013 at 10:17
Actually, my error was in how I passed the refreshWeather() function as a parameter to setInterval, I am supposed to only pass the function as in "refreshWeather", with out the brackets which actually passes the function itself instead of calling the function and passing the return value, but as I said, I instead passed the return value as in calling the refreshWeather() with the brackets which immediately calls the functions and passes in the return value, which in this case is nothing since my refreshWeather function doesn't retrun anything.
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.15
Copyright ©2001-2013 Web Wiz Ltd.