selecting input on page load

This commit is contained in:
frankknoll
2022-02-12 21:19:51 +01:00
parent 732c273095
commit a33059bb4e

View File

@@ -40,8 +40,15 @@
});
}
function selectInput() {
const input = document.querySelector(".dataTables_filter input");
input.focus();
input.select();
}
$(document).ready(function () {
loadBatchCodeTable();
selectInput();
});
</script>
</head>