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.

Get group address when hover an element via Javascript
#3
It doesn't work like I want Sad 

Code:
$(".tooltip").mouseover(function(){
    var addr = $(".tooltip").data('object');
    var id = Scada.encodeGroupAddress(addr);
    var obj = objectStore.getObject(id);
});

this is my code, but if I have more visu element with Class "tooltip", this code give me the first group name of the first element that I hover

Someone can help me?
Reply


Messages In This Thread
RE: Get group address when hover an element via Javascript - by Mirco - 14.11.2019, 15:34

Forum Jump: