get value from a gridView from javascript
<p>i have this code in ASP, I need to do the same, but from the client side. I´ve been searching but i couldn´t do the javascript work. I think this would be pretty simple.</p>

<pre><code>    protected void btnProbar_Click(object sender, EventArgs e)
    {
        bool flag = false;

        foreach(GridViewRow c in grdDatos.Rows)
        {
            if (c.Cells[0].Text == txtNroUnidad.Text)
            {
                flag = true;        
            }
        }
    }
</code></pre>

<p>If you could help me, I would apreciate that. Thanks you!</p>
