15.12.2020, 23:28
(02.03.2018, 11:07)Erwin van der Zwart Wrote: Hi,
Use custom JS like below and add custom class 'hidebyknx' to your elements that needs to be included:
Code:$(function(){
grp.listen('1/1/1', function(object, state) {
if (state == 'value' && object.value == true) {
$(".hidebyknx").addClass("hide");
} else if (state == 'value' && object.value == false) {
$(".hidebyknx").removeClass("hide");
}
}, true);
});
BR,
Erwin
Hi,
How can I get the grp value on page load?
BR,
Mischa