Front-End development of the process. You might use an IFrame to nest HTML pages.
When we pass parameters to the child iframe in the parent IFRAME.
We can set the parameter object to be a member variable of the window object of the subclass IFrame.
<iframe id= "Childframe" src= "iframechild.html" >
</iframe>
<script type= "Text/javascript" >
var childframeobj = document.getElementById (' childframe ');
childFrameObj.contentWindow.paramFromParent = ' userId0007 ';
</script>
A child iframe can obtain parameters passed from the parent IFRAME by accessing the member variables of the Window object.
var param = window.paramfromparent;
var inputobject = document.getelementsbytagname (' input ') [0];
Inputobject.value = param;
Parent-class IFRAME all code
Iframeparent.html
<! DOCTYPE html>
The entire code for the sub iframe is
Iframechild.html
<! DOCTYPE html>