473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Submiting form to a popup in IE 6.0.2800.1106

Pat
Here is how I have been submiting a form to a popup window, this works
fine for all netscape versions and all IE versions previous to
6.0.2800.1106. Does anyone know a different way I can submit a form to
a popup window?

------------------------------------------------
<script language="JavaScript">
function new_window()
{
// Reference the form in this page
var f = document.forms.myformname;

// Open popup window and submit form
var popup_win = window.open('',f.target,'top=150,left=272,width=45 0,height=270');
popup_win.focus();
}
</script>

<form name="myformname" method="post" target="popup_win"
action="./target.cgi" onsubmit="new_window()">
<input type="submit" value="Submit">
</form>

------------------------------------------------
Jul 20 '05 #1
1 1380
Pat
I should also mention that on IE 6.0.2800.1106 2 windows popup, the
popup window and a new 'target' window.

go******@hotmail.com (Pat) wrote in message news:<48**************************@posting.google. com>...
Here is how I have been submiting a form to a popup window, this works
fine for all netscape versions and all IE versions previous to
6.0.2800.1106. Does anyone know a different way I can submit a form to
a popup window?

------------------------------------------------
<script language="JavaScript">
function new_window()
{
// Reference the form in this page
var f = document.forms.myformname;

// Open popup window and submit form
var popup_win = window.open('',f.target,'top=150,left=272,width=45 0,height=270');
popup_win.focus();
}
</script>

<form name="myformname" method="post" target="popup_win"
action="./target.cgi" onsubmit="new_window()">
<input type="submit" value="Submit">
</form>

------------------------------------------------

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
6
by: Mica Cooper | last post by:
Hi, I have a series of Select menus on a page. I am trying to allow the user to click on the Select title and have it popup a help window. This works fine with the following code except that all...
2
by: David N | last post by:
Hi All, The OnLoad() event is invoked automatically when a form is being loaded. Do we have another event that is invoked automatically after a form has completed loading? Thanks.
5
by: rua17 | last post by:
I'm creating a special button control that creates a log in the database every time is touched. I need to log whe name of the button and the name of the form that contains it In some cases...
3
by: The One | last post by:
Have created a form to pop up with 2 option I then wish to write the text that is in the option button chose back to the original form using the code below but it gives me an exception error so...
5
by: | last post by:
When completing certain types of transactions, the users of my app will need to have the clients sign an authorization form. I want to add a button to the page that allows them to print the auth...
5
by: midnight_use_only | last post by:
hi all, quick question, how do you submit a form to a parent window from a child popup window? i have the following and all online documentation *suggests* that it should work but it does NOT: ...
5
by: rodrigo21 | last post by:
I have a form that submits the form values to the same page (of the form). The database is feed from the same page that have the form in it. So the action attribute would look like this <form...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.