Disabling a button inside a gridview using jquery
<p>I have a gridview and on the 6th column there is a link button. I want to enable/disable the link button according to the value of 7th column.... Iam using the following code. but it wont work...  </p>

<pre><code>$('#&lt;%=xgvVisitersRegister .ClientID%&gt; tr').each(function() {
        if ($(this).find('td:eq(7)').text() != "") {
            $(this).find('td:eq(6)').attr("disabled", true);
            }
            else {
               $(this).find('td:eq(6)').attr("disabled", false);
            }
        });
</code></pre>

<p>Pls Help me to correct it..
thanks in advance...</p>
