var dataList =[]; var data =[]; var json = []; var ids=$("#tab").jqGrid('getGridParam','selarrrow'); for(var i=0;i