1 2 3const searchBarAction = () => { 4 searchFiled = document.getElementById('newsSearch'); 5 if (searchFiled && searchFiled.value.length) { 6 const form = document.createElement("form"); 7 const element1 = document.createElement("input"); 8 9 form.method = "GET"; 10 form.action = "search.php"; 11 12 element1.value=searchFiled.value; 13 element1.name="q"; 14 form.appendChild(element1); 15 16 document.body.appendChild(form); 17 18 form.submit(); 19 } 20}
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.