How to save "title" attribute of "a" with jQuery?
<p>How can I save the value of the title for a row? These are the values of the <code>title=%s:</code></p>

<pre><code>&lt;a class="false" title=1106 href="/useradminpage?main_id=%s&amp;display=false"&gt;&lt;span class="small"&gt;(hide)&lt;/span&gt;&lt;/a&gt;

&lt;a class="false" title=1153 href="/useradminpage?main_id=%s&amp;display=false"&gt;&lt;span class="small"&gt;(hide)&lt;/span&gt;&lt;/a&gt;

&lt;a class="false" title=1175 href="/useradminpage?main_id=%s&amp;display=false"&gt;&lt;span class="small"&gt;(hide)&lt;/span&gt;&lt;/a&gt;
</code></pre>

<p>...</p>

<p>I've tried countless variations but none of them work. This is what I have now:</p>

<pre><code>&lt;script&gt;

$(document).ready(function() {

    console.log("ready");

    $("a.false").click(function(e) {
        $(this).closest("tr.hide").hide("slow");
        var main_id = a.title;
        var display = "false";
        e.preventDefault();

    });

    $("a.false").click(function() {

        $.ajax({
            url: "/useradminpage?main_id=%s&amp;display=false",
            data: {main_id: "main_id", display: "display"},
            success: function(data) {
            display_false()
            alert("4 - returned");
            }

        });

    });
});
&lt;/script&gt;
</code></pre>

<p>This is the third question on this topic. I appreciate any help. Thanks.</p>
