PageSourceSearch

https://www.ofiprecios.com/wp-content/themes/woodmart-child/assets/js/form-solicitar-presupuesto.js?ver=228

js ofiprecios.com collected 2026-10-08 09:44:23 UTC 674 bytes, 27 lines download raw bytes

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.