How to read a listview Item (Label) in JQuery
<p>I am trying to read an Item values in JQuery, Based on the value I want to enable or disable an Anchor tag in the Listview based on the label value. Any help would be appreciated.</p>

<pre><code>$(document).ready(function() {
      $('#Coverage-link').live('click', function(e) {
                    var IsRestriction = ***I want to read a label text(lblRestrictions) here***
                    if (IsRestriction == "More") {
                        $('#Coverage-form').dialog('open');
                    } else {
                        e.preventDefault();
                    }
                    return false;
                });
});
</code></pre>

<p>Listview Item -</p>

<pre><code> &lt;ItemTemplate&gt;
                &lt;tr &gt;
                    &lt;td align="left" style="width:180px"&gt;
                        &lt;asp:Label ID="lblDrugName" runat="server" Text='&lt;%# Eval("DrugDescription") %&gt;' /&gt; 
                    &lt;/td&gt;
                    &lt;td style="width:120px" align="center"&gt;
                        &lt;asp:Label ID="lblStatus" runat="server" Text='&lt;%# Eval("FormularyStatusDescription") %&gt;' /&gt; 
                    &lt;/td&gt;
                    &lt;td align="left" style="width:250px"&gt;
                        &lt;asp:Label ID="lblFlat" runat="server" Text='&lt;%# Eval("CopayInfo") %&gt;' /&gt; 
                    &lt;/td&gt;       
                    &lt;td style="width:80px;padding-right:10px;" align="center"&gt;
                        &lt;!--&lt;asp:Label ID="lblCoverageRestrictions" runat="server" Text='&lt;%# Eval("Restrictions") %&gt;' /&gt; --&gt;
                        &lt;a href="#" id="Coverage-link"&gt;
                        &lt;asp:Label ID="lblRestrictions" runat="server" Text='&lt;%# Eval("Restrictions") %&gt;' &gt;&lt;/asp:Label&gt; 
                        &lt;/a&gt;
                    &lt;/td&gt;   
                &lt;/tr&gt;
             &lt;/ItemTemplate&gt;     
</code></pre>

<p>Here is the HTML output -</p>

<pre><code>&lt;table id="eligibility-data"&gt;
                    &lt;thead style="background-color:#90a595;"&gt;
                        &lt;th style="width:180px"&gt;Drug Name&lt;/th&gt;
                        &lt;th style="width:120px;"&gt;Formulary Status&lt;/th&gt;
                        &lt;th align="left" style="width:250px"&gt;Copay Information&lt;/th&gt;
                        &lt;th style="width:80px;padding-right:10px"&gt;Restrictions&lt;/th&gt;
                    &lt;/thead&gt;
                    &lt;tbody&gt;

                &lt;tr &gt;
                    &lt;td align="left" style="width:180px"&gt;
                        &lt;span id="ctl00_MainContentPlaceholder_formularyControl_lvCopayInformation_ctrl0_lblDrugName"&gt;ibuprofen 200 mg oral capsule&lt;/span&gt; 
                    &lt;/td&gt;
                    &lt;td style="width:120px" align="center"&gt;
                        &lt;span id="ctl00_MainContentPlaceholder_formularyControl_lvCopayInformation_ctrl0_lblStatus"&gt;On - Preferred (2)&lt;/span&gt; 
                    &lt;/td&gt;
                    &lt;td align="left" style="width:250px"&gt;
                        &lt;span id="ctl00_MainContentPlaceholder_formularyControl_lvCopayInformation_ctrl0_lblFlat"&gt;No Copay Info Available.&lt;/span&gt; 
                    &lt;/td&gt;       
                    &lt;td id="tdRestrictions" style="width:80px;padding-right:10px;" align="center"&gt;
                        &lt;!--&lt;span id="ctl00_MainContentPlaceholder_formularyControl_lvCopayInformation_ctrl0_lblCoverageRestrictions"&gt;None&lt;/span&gt; --&gt;
                        &lt;a href="#" id="Coverage-link"&gt;
                        &lt;span id="ctl00_MainContentPlaceholder_formularyControl_lvCopayInformation_ctrl0_lblRestrictions"&gt;None&lt;/span&gt; 
                        &lt;/a&gt;
                    &lt;/td&gt;   
                &lt;/tr&gt;

                    &lt;/tbody&gt;
                &lt;/table&gt;
</code></pre>
