title: jstree get highlight node
body: <p>Most of the questions in jstree are about getting the selected node (and related id, etc).  My current code for getting the selected node is:</p>
  
  <pre><code>viewerObj.bind("select_node.jstree", 
      function (e, data) { 
          var nodeId = jQuery.data(data.rslt.obj[0], "jstree").id;
          //alert(nodeId);
          var date = new Date();
          ...
  );
  </code></pre>
  
  <p>But what I really want is not the selected node necessarily, but the highlight node (and parent id) so that I could capture the "create_node" event when it is triggered.  How do I do that?  I can't seem to find any code that does this correctly.</p>
  
  <p>Here's the image of what the UI looks like:<img src="https://i.stack.imgur.com/U8A9J.png" alt="Select node (top) and highlighted node (bottom)"></p>
  
  <p>I want to know how to grab "models".  The select_node event capture the node that is selected (or "admin") in this case.</p>
  
  <hr>
  
  <p>Update:</p>
  
  <p>This does it:</p>
  
  <p><code>.bind("hover_node.jstree",
          function(e, data){
              var nodeId = jQuery.data(data.rslt.obj[0], "jstree").id;
          }
      );</code></p>
  
  <p>It capture the hover event and grabs the id associated with the node that was last hovered.</p>