1document.addEventListener("DOMContentLoaded", function () { 2 // URLããstaffnameãã©ã¡ã¼ã¿ãåå¾ 3 const urlParams = new URLSearchParams(window.location.search); 4 const staffName = urlParams.get("staffname"); 5 6 if (staffName) { 7 // ãã³ã¼ããã¦ã¹ãã¼ã¹ãç½®æ 8 const decodedStaffName = decodeURIComponent(staffName).replace(/\+/g, " "); 9 10 // ã»ã¬ã¯ãããã¯ã¹ãåå¾ 11 const selectElement = document.querySelector('select[name="staffname"]'); 12 13 if (selectElement) { 14 // ãªãã·ã§ã³ãæ¢ãã¦ããããããã®ã鏿 15 for (let i = 0; i < selectElement.options.length; i++) { 16 if (selectElement.options[i].value === decodedStaffName) { 17 selectElement.selectedIndex = i; 18 break; 19 } 20 } 21 } 22 } 23});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.