function UpdateBiomarkers(){
//var bmoIds='';
var biomarkerIds=[];
var grid=jQuery("#tblBiomarkers");
var selBiomarkerIds = jQuery("#tblBiomarkers").jqGrid('getGridParam', 'selarrrow'); // selected ids
$.each(selBiomarkerIds, function (index, recordId) {
// bmoIds += grid.getRowData(selBiomarkerIds[index])["Id"] + ",";
biomarkerIds.push(grid.getRowData(selBiomarkerIds[index])["Id"]);
});
var thomsonReuterBiomarkerId=getURLParameterByName('id');
var args = {
biomarkerIds: biomarkerIds,
bmoIds:bmoIds,
thomsonReuterBiomarkerId: thomsonReuterBiomarkerId
};
$.ajax({
url: "/ThomsonReuters/UpdateBiomarkers",
dataType: "text",
type: 'POST',
data: args,
cache: false,
async: false,
success: function (data) {
},
error: function (d) {
alert('error');
}
});
}