hi i have an outer div which contains alot of inner divs like this '<div id="wrapper"> <div id ="1" class="hoverme">sometext</div></div> so what i nedd to do is that i need to detect the on hover stat of ever hoverme class in tthe wrapper div and return the id number of the hovered elemnt
Thank you

Member Avatar

Something like this (haven't tested);

$('.hoverme').on('mouseover', function(){
    alert($(this).attr('id'));
});

thank you man it helped me alot and it does exactly as i wanted. thank you again