Instant Quote

 In Uncategorized
window.onmessage = (e) => { if (e.origin !== "https://www.repairlift.com") return; if (e.data.hasOwnProperty("frameHeight")) { document.getElementById("iframe").style.height = `${e.data.frameHeight + 30}px`; } var data = e.data; var contactPref = data.contactpref; var contactMsg = data.contactmsg; document.getElementById("set_contact_pref").value = contactPref; document.getElementById("set_contact_msg").value = contactMsg; document.getElementById("onpage_client_name").value = data.clientName; document.getElementById("onpage_client_phone").value = data.clientPhone; document.getElementById("onpage_client_email").value = data.clientEmail; document.getElementById("onpage_client_notes").value = data.clientNotes; if (typeof(window[data.func]) == "function") { window[data.func].call(null, data.vartypage); } }; function parentFunc(vartypage) { //This function will kick off any POST APIs and then redirect var contactPref = document.getElementById("set_contact_pref").value; var contactMsg = document.getElementById("set_contact_msg").value; console.log(vartypage); console.log(contactPref); console.log(contactMsg); window.location.href = vartypage; //For Wix sites, delete the line above and add the line below - change the URL! //window.location.replace("https://www.thesmartphoneer.com/thank-you"); }
Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Start typing and press Enter to search