There is such a task, to embed an iframe with a document into the page. This beauty is downloaded from the third site and through JavaScript:
from the service asynchronously get such a tag
<script type="text/javascript" src="https://secure.na1.echosign.com/public/embeddedWidget?wid=CBFCIBAA3AAABLblqZhCLlCGc-XhVQGnsG_NX5Xls1tBCDqCPE-Xz-zk8X_ooGxKzIxxyZ6oKL6iCqsAHLS8*"></script>Paste it into the
innerHTMLblock where you need to display the form. But it does not work.If we execute the link in the browser directly, we get:
document.write('<iframe src="https://secure.na1.echosign.com/public/esignWidget?wid=CBFCIBAA3AAABLblqZhCLlCGc-XhVQGnsG_NX5Xls1tBCDqCPE-Xz-zk8X_ooGxKzIxxyZ6oKL6iCqsAHLS8*&hosted=false&token=&firstName=&lastName=&nameEditable=true" width="100%" height="100%" frameborder="0" style="border: 0; overflow: hidden; min-height: 500px; min-width: 600px;"></iframe>');
How can I make it all work?