selecting input on page load
This commit is contained in:
@@ -40,8 +40,15 @@
|
||||
});
|
||||
}
|
||||
|
||||
function selectInput() {
|
||||
const input = document.querySelector(".dataTables_filter input");
|
||||
input.focus();
|
||||
input.select();
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
loadBatchCodeTable();
|
||||
selectInput();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user