-
On Change Variable?
Does anyone know how you can get when a variable changes? I was thinking of having a set variable function that called any listeners I attached when it changes a certain var...
-
-
Gecko (Mozilla & Firefox) based browsers have something called watch(), which is inherited by all objects. Note that IE and probably most other browser types do not support it.
http://developer.mozilla.org/en/docs...s:Object:watch
Trinithis
-
-
If you're going for cross-browser support, though, there's nothing to do but poll it.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks