Untitled

 avatar
unknown
plain_text
2 years ago
912 B
6
Indexable
<script th:inline="javascript">
									function checkColumn() {
										var checkboxes = document.querySelectorAll(".fullCheck .user_check_list");
										Array.from(checkboxes).forEach(checkbox => {
											checkbox.addEventListener('change', event => {
											console.log('Selected account sequence:');
											const targetCheckbox = event.target;

											if (targetCheckbox.checked) {
												// Checkbox is checked, perform the desired action
												// Example: Log the selected user's account sequence
												const accountSeq = targetCheckbox.getAttribute('data-account-seq');
												console.log('Selected account sequence:', accountSeq);
											} else {
												// Checkbox is unchecked
												// Perform any necessary actions
												console.log('unchecked');
											}
										});
									});
									}
								</script>
Editor is loading...