It doesn't work like I want
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?
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?