They say you learn something new every day.

I’ve struggled in the past with having hta files or documents that update in real time.

The way to do it is using the setTimeOut function.

id = setTimeout(“RunFunction()”,1000) 

This runs “RunFunction()” every second, so if you nest this you can make something keep updating.

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Tag Cloud

%d bloggers like this: