Dynamic Loading of IFRAME

Source: Internet
Author: User

Server generate <% if ..... thenresponse. write "<IFRAME name = frame1 src1_xxx.html width = 0 Height = 0>" End ifif ..... thenresponse. write "<IFRAME name = frame2 src=xxx.html width = 0 Height = 0>" end if %> the client generates <Div id = div1> </div> <script language = VBScript> If.... then STR = "<IFRAME name = frame1 src1_xxx.html width = 0 Height = 0>" End ifif... thenstr = STR & "<IFRAME name = frame2 src=xxx.html width = 0 Height = 0>" end if generate ifrmaedocument. All ("div1"). innerhtml = STR assigns a value to the Form Control in IFRAME. Document. all ("frame1" 2.16.doc ument. all ("XXX "). value = document when XXX is submitted. all ("frame1 "). form1.submit () document. all ("frame2 "). form1.submit () </SCRIPT> the preceding method illustrates an idea. It has not been verified. Please verify it by yourself.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.