Script not showing

  • Profile Image
    markeibner
    Asked on April 04, 2014 at 01:32 AM

    I am placing on a godadddy website builder page and the 

    <script type="text/javascript" src="//form.jotformeu.com/jsform/40896786429373"></script>

    is not showing?

     

    If I use an iframe- it shows biut does not submit???

     

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

    <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;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

  • Profile Image
    EltonCris
    Answered on April 04, 2014 at 03:40 AM

    Hi,

    We recommend you to use iframe since godaddy site builder is stripping script codes. By the way, I checked the form on your page and it's working fine. I can click and submit the form.

    If you still have difficulties, please re-embed your form using this iframe code only then preview your page afterwards.

    <iframe id="JotFormIFrame" allowtransparency="true" src="//form.jotformeu.com/form/40896786429373" frameborder="0" style="width:100%; height:830px; border:none;" scrolling="no"></iframe>

    Hope this helps!