This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

personal javascript
#1
Hi

In this code for page change
Code:
$(function(){
  if (typeof objectStore !== 'undefined') {
    var id = Scada.encodeGroupAddress('32/1/50');

    objectStore.addListener(id, function(object, type) {
      if (type == 'value') {
        showPlan(216);
      }
    });
  }
});
 is it possible to execute the action only when the value is increased?
Reply


Forum Jump: