I have some Ajax loading elements. After this i need to read some data atribute of this elements on mouseenter. But something is wrong, each of loaded elements can't display data atribute.
HTML:
<label data-href="/79" data-tooltip="description" class="tooltip">some label</label>
and some JS:
var tooltip = $('.tooltip');
tooltip.on({
    mouseenter: function(){
        if ($(this).data('tooltip').length){
            $('body').append('<span class="tooltip_vwr"/>');
        ...
How to call lenght method after ajax loading? Thx for help.
 
     
     
     
    