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
shandoosheri
0
Light Poster
Recommended Answers
Jump to PostSomething like this (haven't tested);
$('.hoverme').on('mouseover', function(){ alert($(this).attr('id')); });
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.