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.

JS to detect edition of a string
#1
Hi all,

in a JS script, I know how to detect the state of a Bool object, as

Code:
$(function(){
 
  // managing widget-20
 
  // open widget
  grp.listen('33/1/7', function(object, state) {
    if (state == 'value' && object.value == "1" ) {
        // Command to show widget
        $("#widget-20").removeClass("hide");
    }
  }, true); // set to true to execute on same object value

});


but how to detect that a String object has just been clicked (for example for modification by the user)?

Goog week !
Reply


Messages In This Thread
JS to detect edition of a string - by SigmaTec - 23.11.2020, 07:38

Forum Jump: