Focus On First Column of First Row of Grid on Pageload

To Focus on First column of first row in gridview firstly we have to get the id of the textbox where we have to focus and  call a inbuilt focus method.
  1. $(document).ready(function () {  
  2.    sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(fcs);  
  3.    fcs();  
  4. });  
  5. function fcs() {  
  6.    document.getElementById('ctl00_ContentPlaceHolder1_grid_inv_ctl02_name').focus();  
  7. }