Place embed code in javascript function

  • WarpedMind
    Asked on July 12, 2016 at 2:39 PM

    The wp plugin (a builder) I'm using won't allow me to use the embed code within it's html/text widget. There is however a code widget. I need to put the embed code within the function...

    function Start(){

    // how do i make the embed code below work here???

    <script type="text/javascript" src="https://form.jotform.com/jsform/xxxxxxxx"></script>

    }

     

    Can you please help?

    Thanks,

    Tom

  • David JotForm Support Manager
    Replied on July 12, 2016 at 3:07 PM

    I believe you need to contact WordPress support to see what is the proper way to use JavaScript function in a page: https://codex.wordpress.org/Using_Javascript