How to get value of currently hovered anchor in jquery
<p>What I am  trying to do here is to get the value of the current link that is hovered over by the mouse:</p>

<pre><code>    &lt;script type='text/javascript' src='jq.js'&gt;&lt;/script&gt;
    &lt;script type='text/javascript'&gt;

    $(function(){


    $('a').hover(function(){
    var imgName= $('a[href^=num]').val();
    alert(imgName);

    });




    });
</code></pre>

<p>What do I need to do here in order to make that happen?</p>

<pre><code>    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;

    &lt;a href='numone'&gt;numone&lt;/a&gt;
    &lt;a   href='numtwo'&gt;numtwo&lt;/a&gt;
</code></pre>
