JSFiddle - React, Tailwind, and code Playground

http://stackoverflow.com/questions/16451750/stuck-trying-to-get-an-href-attribute-value-below-the-div-on-a-mouseenter/16452510#16452510

HTML

<a href="somelink">some value</a>

<div class="menu_info1">
    <div class="menu_info2"></div>
    <div class="user_menu popover">
        <div class="user_menu_nipple"></div>
        <div class="user_menu_list"></div>
        <a href="someotherlink" class="targetclass" data-name="What_I_Need">target</a>
   <a href="someotherlink" class="targetclass" data-name="What_I_Need">target 123</a>

    </div>
</div>

JavaScript

$(".targetclass").mouseenter(function(e) {
    var data = $(this).data("name");
    console.log(data);
    alert('123');
});