Reference iframe under current
Posted: 07 Nov 2019
Is there a way to reference the last iframe before the active iframe? Depending on where I access a form, I have fields being called from the previous form using the following:
Can the index [1] be dynamic to account for accessing the form through more steps/iframes?
Code: Select all
var iframes = $('iframe.ms-dlgFrame', window.top.document);
var parentFD = iframes[1].contentWindow.fd;