I am using jquery UI and i am trying to show data attribute on the checkboxes
here is my html
<input class="checktip" data-home="Working from Home" data-office="Working from Office" type="checkbox" name="Monday" id="Monday">
and here it is the jquery COde i have
$(".checktip :checked").tooltip({
        "classes": {"ui-tooltip": "uitooltip"},
        "content": $(this).data("office")
    });
    $(".checktip").tooltip({
        "classes": {"ui-tooltip": "uitooltip"},
        "content": $(this).data("home")
    });
but on hover of the elements, it is not showing me anything, is something wrong here
 
     
    