I
ithrees
Guest
Thank you Harsha, Since I want this in the client side I add the script below to bind with the click event for the checkboxes var slcd = [ ]; $('input[name^="sel_"]').on('click', function() { var id = (this.name).substring(4); if (this.checked == true){ slcd.push(id); }else{ slcd.splice( slcd.indexOf(id), 1); } }); Additionally I add the following to the onload in order to get the selected Ids when the page is refreshed, $('input[name^="sel_"]').each(function(){ if (this.checked == true){ slcd.push((this.name).substring(4)); } }); Note that the above work around will work only for the current view page. Thanks and Regards, Ithrees
Continue reading...
Continue reading...