How to: Listening for variable changes in JavaScript or jQuery #programming #solution #development
How to: Listening for variable changes in JavaScript or jQuery #programming #solution #development
Listening for variable changes in JavaScript or jQuery
Is it possible to have an event that fires when the value of a certain variable changes? Thanks!
Answer [by jldupont]: Listening for variable changes in JavaScript or jQuery
Not directly: you need a pair getter/setter with an “addListener/removeListener” interface of some sort… or an NPAPI plugin (but that’s another story altogether).
Answer…
View On WordPress







