Ff cannot be accessed directly by the Frame ID.
(Ie ff can be accessed directly through the Frame Name, But FrameSet does not support the name attribute)
Therefore, window. parent. full elementbyid ("full ");
For details about js operation frame, the differences between window. opener and window. parent
To change the pages in the frame to other pages in the same frame or in the parent frame, use parent.
Window. opener references the parent page of the page opened by window. open.
The window. frames object can reference pages in iframe or in frameset.
Replace the following code with IE, ff compatible. frm = window. parent. window. frames ['uploadframework'];
In fact, the frames set is not attached to the document but to the window object.
Note that there is a limit on modifying the page in the frame, that is, the page must be in the same domain; otherwise, the page cannot be accessed.
If it is in the same domain, but the sub-domain names are different, then the js and html files involved are added with a sentence.
Document. domain = xxx.com [enter your domain name here]
Document.getelementbyid('iframeid'{.content}doc ument. getElementById ('someelementid ');
Address: http://www.52blogger.com/archives/516