Finding the value/text of an A tag using JQuery
<p>Something's not quite right here.</p>

<pre><code>$(document).ready(function() 
        { 
            $("a#edit").click(function() {
                $("div#search").addClass("hidden");
                $("div#edit").removeClass("hidden");
            alert((this).val());
            return false;
            }); 
        } 
); 
</code></pre>

<p>And later:</p>

<pre><code>&lt;a href="#" id="edit"&gt;10.1001&lt;/a&gt;
</code></pre>

<p>I want to get the value "10.1001" from this.  <code>alert((this).val());</code> doesn't seem to work, nor does <code>alert((this).text());</code>.  Can someone point out really quickly what I'm missing here?  Thanks!</p>
