- Nested pass-by-value
A->B{a,b,c} b->d
A page input box click event pops up page B
Page B is a combination of three iframe layouts a, b, and c
B page iframe nesting import d page
To pass the value of page b to the input box of page A, the implementation method is as follows
var window_parent=window.parent.parent;
window_parent.window.opener.document.getElementById("id").value ="123";
window_parent.close();
- Adjacent iframe pass value
$(parent.document.getElementById("spDatable")).text()