One IE Window Update A Form In Another IE Window?

Jul 23, 2005

We have a web based tool used to report issues in our office. Many times the users do not enter the required information to deal with the issue. Unfortunately we don't have control of this application to update or modify it.

I would like to create another web based tool where users would fill out a form, click submit and the info from that form would be inserted to a specifically named textarea box in a separate IE window.

A couple of factors that would affect this...

- The URL of the reporting tool does contain form data. I'm not sure if this
would affect detection of the current address in the browser.
- The name/ID of the textarea/textbox that I want to paste to is always the
same.

- The only browser to consider is IE as this is an INTRANET application.

Are any of the following scenarios possible?

- User has reporting tool open in one window at the proper page to enter
info. In another window they have our new form. They click submit and our
page inserts information into the other page.

- Same as above, but user has a different page than the reporting page. Can
our form detect what page is showing in the other browser window and issue a
warning to the user, or cause the other page to move to the correct
reporting page?

- User only has our page open. When they submit the form it opens the
reporting page in the same window and updates, or in a frame in the same
window and updates?

.... This should explain pretty much what I'd like to accomplish.

Currently when the user submits on our form it just copies the contents of
our form to the clipboard and pops up an alert box telling the user to "now
please paste your clipboard in the the problem report." It works, but it's
not very elegant.

View 6 Replies


ADVERTISEMENT

Open A Small Form Window That Allows User To Input An Email Address And Update It To Proceed

Aug 30, 2011

I found this forum while running out of ideas and being extremely desperate to fixing a probably small javascript error in a script. the script is supposed to open a small form window that allows the user to input an email address and update it to proceed. the form item is initially unchecked, but as the user clicks it and enter his email address, it updates the value of the email address and the box becomes "checkable". the problem is that with both IE and firefox, the box doesn't close again, doesn't get checkable and basically doesn't work. in the firefox debugging console, I found the following error:

Quote:

The part responsible in the javascript for this section is:

Quote:

And the html code that is supposed to pop up the box is:

Quote:

View 1 Replies View Related

Form Opening In The Main Window/ Simeltaneiously Closes Popup Window

Jan 8, 2004

I have a popup window which has the search form in. What I want to do is for the popup window to close once the form is submitted, and to post the form data to a page on the main window.

Is anyone able to advise. As the main page is dynamic, it is not possible to give the page a name.

View 4 Replies View Related

JQuery :: Create A Hidden Form Field In A Parent Window From Within A Child Window - Popup

Jun 13, 2011

Im trying to create a hidden form field in a parent window from within a child window (popup). I am trying to use jQuery, but unfortunately the hidden field does not get created.

Code JavaScript:

View 2 Replies View Related

JQuery :: Submitting Form To New Window But Have Spinner In New Window?

Nov 21, 2011

This should probably be pretty basic and I've been googling around as to the best approach to take and still a bit confused. I have a form that currently submits a form to a new window using jquery (shown below.) The form once submitted could go through a few redirects within the new window (it's calling some facebook stuff.)

All I'd like is when the initial new window pops up is for a spinner to appear in the popup window until the first response is returned. Is there a decent example on how to do best achieve this?

[Code]...

View 2 Replies View Related

Submit A Form In Popup Window To Opener Window

Oct 11, 2006

I have a form that is in a popup window. I need the form to submit to the opener window. Is is possible to do that? The opener window is the main window so it is does not have a name and there are no framesets.

<form action="something.php" method="post" target="????">
I'd like to use window.opener in the target but that's JavaScript...

I know somebody has done this before and has the code.

View 2 Replies View Related

Inserting Text From One Window Into The Form Of Another Window

Jan 13, 2003

I need to insert some text (keywords) into a searchform of another window. I assume this is possible via the window.opener, but I would be grateful for some hints.

View 1 Replies View Related

Child Window Close Event - Opening Another Link In A Separate Window Using Window.open()

Jan 29, 2010

I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.

View 4 Replies View Related

AJAX :: Update Multiple Window Elements With Single Request?

Dec 18, 2010

The general outline is that I have part of a page that deals with the addition, editing and deletion of upcoming events. Data is stored in a MySQL table. The form design (in traditional terms) would be very simple requiring three fields, one for the Event Name, one for the Event Description and one (hidden) to identify the UniqueID of the event in the MySQL table. (As the reference to make edits.) The table therefore has 3 fields. (There are more such as Timestamp, clientID etc, but they are not important here.)

I envisage three functions, one to add, one to edit and one to delete the event listed on the page. I have 3 php files eventadd.php, eventedit.php and eventdelete.php which speak for themselves.However, this is where I have the problem. What I have been doing is returning the xmlhttpresponse as a formatted HTML page for the two 'form' elements because whilst I can return unformatted text containing the relevant fields in one response, I don't know how to break that down into two sections for the innerHTML of the two 'form' elements that change.

Returning a formatted page does work, but as well as being slower than neccessary, I am also running into character-set encoding issues and I just know that I am not doing this properly. I can supply code and things, but I have a feeling that this problem will have come up somewhere and probably has a recognized solution because to me it seems to be such an obvious requirement to be able to populate several form elements with fields from one recordset.

View 4 Replies View Related

Pop Up Window Details To Update Parent Details?

Jul 22, 2011

I have a page here [URL]. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I want is that once they click on the checkbox the window will close and update the "Select" with the revelant "Tyre Serial No". How to achieve the updates? I also want to limit the pop-up window to only at any one time.

View 2 Replies View Related

Way To Pop Up Window Details To Update Parent Details

Jul 21, 2011

I have a page here Untitled Document. You can select a value from the dropdown list and you will get a list of configurations with the word "Select". If you click on the "Select" word you will get a pop-up value with a list of checkboxes. So what I want is that once they click on the checkbox the window will close and update the "Select" with the revelant "Tyre Serial No". How to achieve the updates? I also want to limit the pop-up window to only at any one time.

View 24 Replies View Related

WEB Site Opens An Application Window And Then, From Its Original Window It Navigates To A Status Page?

May 11, 2011

My WEB site opens an application window and then, from its original window it navigates to a status page.

Code:
var newWindow
function popUpApplication() {

[code]...

View 5 Replies View Related

Automaticaly Clsoe The Parent Window When The Child Window Opened In Firefox?

Mar 24, 2011

i have this code i need to close the parent.html window when the child window opened, i need the code for that working well in IE and Firefox Parent.html

<HTML>
<SCRIPT TYPE="text/javascript">
function sendTo()
{
window.open('child.html','_blank','resizable=yes,width='+(screen.width-500)+',height='+(screen.height-500)+'');
}
[Code]...

View 2 Replies View Related

Script To Close Old Window And Open New Window With New Link And Specific Size

Jan 29, 2006

I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!!

View 3 Replies View Related

Window.opener Either Blocks When I Referesh The Parent Page Or Opens In New Window?

Aug 11, 2011

I am trying to usw window.open , upload a file in the child window and then referesh the parent window. But once upload is done, window . opener .location.href or opener.location.replace sends a message back but I get a pop up blocker, so if I turn pop up blocker off, it opens in new page. I just want the parent page to refresh on the same window. This works on some employees stations but not on others..I don't know if there are any settings on IE that need to change, I tried everything...weird. does any one done this before?

View 1 Replies View Related

Child Pop Up Race Condition Using Window.open Need To Detect Window.onload

Nov 22, 2011

I am trying to pop up a window and then do stuff(set flags) when the content of the new window is done loading. For this I am trying to detect the window.onload of the pop-up child window but so far I am unsuccessful. I believe my problem is that the URL of child window is on different domain, than the one of the opener(parent) so that the window.onload is not being called. Though this may change, at the moment I do not have access to the code for the page I'm opening up in the pop-up. Im pretty new to web development.

[Code]....

View 3 Replies View Related

Window.resizeTo() Inside A Window.onResize Event Handler Function?

Apr 23, 2011

I want to preserve a 16/9 aspect ratio to the window after any resize, making the width a function of the height.

As I have a window.resizeTo() inside the window.onresize event function, the infinite loop is served. How may I quit it?

<html><head><title>Title</title><script languaje="javascript">
const c_ra=16/9;
window.onresize = function WindowReSize() {
var myWidth = 0, myHeight = 0;

[Code].....

View 2 Replies View Related

Trouble Retrieving Window Location From A Previously Opened Window ?

Dec 24, 2005

I am trying to open up a new window and then get the current url/location
back from the (win_1) window and display the url in an alert box.

Here is the code I am using :-

<script type="text/javascript">
var mywin_1 = open ("http://www.anysite.com/index.htm", "win_1",
"height=640, width=820, left=200, top=0, scrollbars, status, location");
var temp = mywin_1.location;
alert (temp);
</script>

Where am I going wrong?

View 2 Replies View Related

Javascript Popup Window That Stays In Front Of Parent Window?

Jul 20, 2005

I have a couple of utility windows - a calculator and a calendar that popup
from my main window. I would like them to always stay in front of the parent
window until they are shut down with there own close buttons. As it is, when
you click back to the parent window, of course it comes in front of the
child windows. Can I do this?

View 4 Replies View Related

Opening Overlay Window When Closing Or Navigating From The Current Window?

Apr 25, 2011

code to show ( overlay / modal window ) to the user when closing or navigating away from the page ( i want put in this window facebook share to make the user to share the page in his facebook ) , bytheway i wanna use it in my wordpress in every post could it be happen ?

View 1 Replies View Related

Getting Data Back To Parent Window Field From Popup Window

Apr 7, 2007

My problem is that ..... I have to select Data from Popup Window and get that Data back to my Parent window's textarea field..

View 2 Replies View Related

Open A Popup Window From A PHP Site And Pass In Some Parameters To Use In The Pop Up Window

Sep 23, 2010

I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup window. All pages are local and in the same folder. The id of the input box is 'ddutykey'. The name of the new window would be showduty.php if possible.

View 3 Replies View Related

Capture Child Window Close Event In Parent Window?

Feb 1, 2010

I have an HTML page where I am opening a child window using window.open. the child window is something like yahoo.com. I want to refresh the parent window when the child window is closed.

View 1 Replies View Related

Window.opener.location - Set The Parent Window(main Browser)

Nov 13, 2011

I'm using window.showModalDialog but having an issue trying to set the parent window(main browser). I open modal window A which is then opens modal window B, top of modal window B onload I do window.opener.close()". My issue now is when i'm finished with B I set parent window(main browser) to a new url with window.opener.location. So my problem is modal window A the parent has been closed so window.opener.location will not work.

View 3 Replies View Related

Trigger Action In Parent Window When Child Window Closes?

Jun 25, 2009

Put a link on my page that will open an external site (over which I have no control) in a pop-up window. When the user closes the pop-up, I want my original page to redirect to another page. The difficulty I'm having is that I can't add any code to the page in the pop-up as it's not my site.

View 4 Replies View Related

New Window.name Value Doesn't Stick. Old Value Returns Unless The Window Is Refreshed

Jul 23, 2005

I'm having some difficulty in renaming a window object. I'm opening the window in question via a targetted submit:

<!-- CODE EXCERPT FROM WINDOW 1 -->
<form target="newWin">

Based on certain criteria, I sometimes need to close window 1 and have
window 2 take its name:

<!-- CODE EXCERPT FROM WINDOW 2 (currently named "newWin" -->
var strWindowName = opener.name;
opener.name = null;
opener.close();
//Ensure the window doesn't hold onto the instance
opener = null;

//Rename the window
window.name = strWindowName;
top.name = strWindowName;

While an alert at the end of my function indicates that the renaming
has been successful, when I submit the form on window 2 I find that
the window name has reverted to "newWin". For some reason however,
refreshing the window makes the correct (previous opener) name stick.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved