When an IFRAME is inserted in a page or is composed of different frameworks (fieldset), in this case, the business logic to be processed is more common, that is, data interaction.
1. IFRAME information is inserted into the page.
Because IFRAME is inserted in the page, IFRAME is a link from the main form.
When an IFRAME is inserted in a page or is composed of different frameworks (fieldset), in this case, the business logic to be processed is more common, that is, data interaction.
1. IFRAME information is inserted into the page.
Because IFRAME is inserted in the page, IFRAME is a link from the main form.
The value in the IFRAME should be obtained for the main form: window. Frames ["iframe name" 2.16.doc ument. getelementbyid ("");
IFRAME: obtain the value of top.doc ument. getelementbyid ("");
IFRAME: window. Top. Frames ["iframe name" 2.16.doc ument. getelementbyid ("");
2. The page consists of <fieldset> </fieldset>
The relationship between pages is equal.
Assume that topframe and mainframe exist.
Topframe: to obtain the value in mainframe: window. Top. Frames ["mainframe" comment .doc ument. getelementbyid ("");
Note: The top above is directly oriented to the main form.
The value in the IFRAME should be obtained for the main form: window. Frames ["iframe name" 2.16.doc ument. getelementbyid ("");
IFRAME: obtain the value of top.doc ument. getelementbyid ("");
IFRAME: window. Top. Frames ["iframe name" 2.16.doc ument. getelementbyid ("");
2. The page consists of <fieldset> </fieldset>
The relationship between pages is equal.
Assume that topframe and mainframe exist.
Topframe: to obtain the value in mainframe: window. Top. Frames ["mainframe" comment .doc ument. getelementbyid ("");
Note: The top above is directly oriented to the main form.
When IFRAME is introduced to the page, the role of parent and top is the same.
However, in <fielde>, parent is the parent form and top is the top-level form.