Breaking out of Iframe in Docusign

后端 未结 1 1011
时光说笑
时光说笑 2020-12-12 02:44

I am using Iframes to render the embedded Docusign document. I was successfully able to sign the document in the Iframe and get redirected to my specified URL after signing.

相关标签:
1条回答
  • 2020-12-12 03:37

    I was able to find solution for that. I just needed to catch the Docusign redirect in the Iframe and hide it.

     <iframe id ="docusignFrame" name="docusignFrame" th:src="${docusignURL}" width="100%" height="900" onLoad="(this.contentWindow.location != '' ? DocusignCompleted(this.contentWindow.location) : void(0));">
    </iframe>
    <script>
    function DocusignCompleted(url) {
                    $("#docusignFrame").hide();}
    </script>
    
    0 讨论(0)
提交回复
热议问题