1/** 2 3 * * Archivo para gestionar la recogida del parametro de producto de fomrulario de solicitar presupuesto 4 5 */ 6 7addEventListener("DOMContentLoaded", () => { 8 9 const queryString = window.location.search; 10 11 const urlParams = new URLSearchParams(queryString); 12 13 const product = urlParams.get('product-name'); 14 15 inputProduct = document.querySelectorAll('input[name=your-product]'); 16 17 /* if(inputProduct != null) 18 inputProduct.value = product; */ 19 inputProduct.forEach(inpPro => { 20 inpPro.value = product; 21 if(product == null){ 22 inpPro.parentElement.parentElement.parentElement.style.display = "none"; 23 } 24 }); 25 26 27})
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.