Get checkbox checked values using ECMA Script
function getCheckBoxselectedControl(controlName) {
var favorite = "";
$.each($("input[name=" + controlName + "]:checked"), function () {
favorite += ($(this).val()) + ",";
});
return favorite;
}
Comments