how to implement focus() on selected text box with in gridview
<p>i have a text box "txtSales" with in the gridview "gvClientView",how to do focus of selected row index in different function as a name is $("#close").click(function() .</p>

<pre><code> &lt;script type="text/javascript"&gt;
 $(document).ready(function() {
     $("table[id*=gvClientView] input[type=text][id*=txtSales]").blur(function() {
         alert($(this.val());//here i am getting value of selected text box
     });

     $("#close").click(function(){ //here i want to use focus of selected row of textbox in grid view });
 });
 &lt;/script&gt;
</code></pre>
