Page 1 of 1

Reference iframe under current

Posted: 07 Nov 2019
by Jaydius
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:

Code: Select all

var iframes = $('iframe.ms-dlgFrame', window.top.document);
var parentFD = iframes[1].contentWindow.fd;
Can the index [1] be dynamic to account for accessing the form through more steps/iframes?

Re: Reference iframe under current

Posted: 08 Nov 2019
by mnikitina
Hello Jaydius,

Could you provide more detailed information about your form and what you want to achieve.

Some screenshots also would be helpful to understand the requirements.