DJI AUTHORISED RETAIL STORE

Certified repairs centre

After sales Support

DJI Mavic 3 Cine Combo

Get It Now, Pay Later

1 in stock

Buy Now
Product Description
setproductURl(); setproductName();

function setproductURl(){ //finds the url of current page var Product_url = window.location.href; //finds all elements on form for the url const elements = document.querySelectorAll('[id*="et_pb_contact_inquiry_url_"]'); elements.forEach(element => { element.value = Product_url; }); }

function setproductName(){ //find the product name of current page var Product_title = document.querySelector(".et_pb_wc_title .et_pb_module_inner h1").innerText ; //finds all elements on form for the product const elements = document.querySelectorAll('[id*="et_pb_contact_inquiry_item_"]'); elements.forEach(element => { element.value = Product_title; }); }