$("- sharpsel") .blur (function () {
$("-sharpitems").css({
"display": "none"
})
$("input[type="checkbox"]:checked").each(function (elementId) {
a.push((<HTMLInputElement>this).value); //push
b.push((<HTMLInputElement>this).value); //push
for (const key in a) {
if (a.hasOwnProperty(key)) {
$("-sharpwal2").append("<lable class="gongan">" + a[key] + "<span class ="span" style="display: inline;" onclick="cli1(this)">" + "X" + "</span></lable>")
// console.log($("-sharpwal2"));
}
}
a = [];
});
// console.log(b);
obj.gongan = b.join(",");
console.log(obj);
})