$(document).on("click", "input[name='accountSelect']", function(e) {
if ($(this).attr("checked") == undefined) {
$("input[name='accountSelect']").each(function(e) {
if ($(this).attr("checked")) {
$(this).removeAttr("checked");
}
});
$(this).attr("checked", true);
} else {
$(this).removeAttr("checked");
}
});
if ($(this).attr("checked") == undefined) {
$("input[name='accountSelect']").each(function(e) {
if ($(this).attr("checked")) {
$(this).removeAttr("checked");
}
});
$(this).attr("checked", true);
} else {
$(this).removeAttr("checked");
}
});