01.11.2024, 07:35
Use a virtual object with 250 byte string data type (32/0/1 in this example).
Code:
$(function() {
if (typeof grp != 'object') {
return;
}
var url;
$('.link').off('vclick').on('vclick', function() {
window.open(url);
});
grp.listen('32/0/1', function(obj) {
url = obj.value;
});
});