How can I remove the code I see at the bottom of my webpage from the jotform

  • Profile Image
    sfailes
    Asked on June 09, 2015 at 11:12 AM

    Please view the link and see at the bottom.

  • Profile Image
    Syed
    Answered on June 09, 2015 at 11:24 AM

    Hi there;

             Please try embed your form again by using an iFrame, I cloned your form for this particular thread, please insert the following code and do let us know how it goes.

    Embed Only This Code Block:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//support.jotform.com/form/51594643947973" frameborder="0" style="width:100%; height:1599px; border:none;" scrolling="no"></iframe>

    Code Block Need To Remove:

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

    Thankyou,