docusignapi - Docusign Embedded View Won't scroll to top in ie -


so have codebehind creates authetication token, passes in document signed , returns viewurl. done via webmethod. call webmethod through jquery , success callback returns viewurl, assign iframe. works fine in every browser there's 1 quirk in ie. once document isfinihsed loading, screen jumps top of document. not client wants. want top of page visible. fine in every other browser except ie.

          $.ajax({           type: 'post',           url: 'xxx.aspx/get',           datatype: 'json',           contenttype: 'application/json;charset=utf-8',           data:{},           success: function (data) {           var docurl = data.d;           $('#fdocusign').prop('src', docurl);           $(document).scrolltop();           var nav = $('.sidebar').offset();           $('#fdocusigncontainer').css({'position':'absolute','top':'475px','left':nav.left + 'px',width:$('.content').width() + 'px'});           $('#fdocusign').css({ 'height': '1000px', width:$('.content').width() + 'px' });           $('#fdocusigncontainer').show();           $('#spnmessage').text('');           }           });            }); 

i tried using $(document).scrolltop() force tono avail. ideas?

i agree @codingdawg's comment

-- there's no need use iframe. save app's state of techniques listed below , redirect signing ceremony url received docusign.

saving state:

  1. your software stack may offer session object, use that.
  2. save handle state query parameter return_url send docusign. returned app when docusign redirects app after signing ceremony complete.
  3. save state in cookie.

Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

angular - DownloadURL return null in below code -