Form submit solution to open a fixed size window

Source: Internet
Author: User
Tags client
Solution <!--

Submit data to a fixed-size window page

The reason window's name is assigned later is to improve the efficiency of opening a new page, generally

We want to open a fixed-name window, such as window.open "xxx.asp", "Windowname"

If the client opens more than one IE window, window.open first detects whether the client has a duplicate name for each IE window,

If a duplicate name is submitted directly to the duplicate name form, there is a detection procedure here, so the opening speed will be very slow.

So here is the practice of opening the page first, then assigning the name.

Begin

-->

<form id= "frm_list" name= "frm_list" method= "Post" >

<input type=hidden id= "Hid_record" name= "Hid_record" >

</Form>

<script language=vbscript>

Dim Objwin



With document.all ("Frm_list")

. Item ("Hid_record"). Value = "100"

. Action = "Update.asp"

. Target = "Windowname"

Set objwin = window. Open ("About:blank", "" "," ")

Objwin.name = "Windowname"

. Submit

End With

</Script>

<!--end-->




Related Article

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.