Place embed code in javascript function

  • Profile Image
    WarpedMind
    Asked on July 12, 2016 at 02: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

  • Profile Image
    BDAVID
    Answered on July 12, 2016 at 03: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