473,807 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One IE window update a form in another IE window?

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.

Thanks!
Jul 23 '05 #1
6 2235
I assume Javascript isn't up to this task then...?

"Noozer" <do*******@me.h ere> wrote in message
news:er0bc.6948 $oR5.4493@pd7tw 3no...
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.

Thanks!

Jul 23 '05 #2
In article <er0bc.6948$oR5 .4493@pd7tw3no> , "Noozer" <do*******@me.h ere>
wrote:
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.


Would a free lunch help? ;-)

Couldn't you just copy the html page that the form is on and modify it?

I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.

Robert
Jul 23 '05 #3

"Robert" <rc*******@my-deja.com> wrote in message
news:rc******** *************** ******@news2.we st.earthlink.ne t...
In article <er0bc.6948$oR5 .4493@pd7tw3no> , "Noozer" <do*******@me.h ere>
wrote:
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.

Would a free lunch help? ;-)


Doh! I just want to know if it's at all possible, and maybe what object I'd
refer to as the "document" object isn't high enough up the tree to get me
out of my browser window and into the other browser window.
Couldn't you just copy the html page that the form is on and modify it?
Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be fine.
I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.


As much as I'd like to be able to directly submit data to the other site, it
just isn't possible.

Thanks for the reply though!
Jul 23 '05 #4
"Noozer" <po********@127 .0.0.1> wrote in message
news:FZKbc.1982 4$oR5.15902@pd7 tw3no...

"Robert" <rc*******@my-deja.com> wrote in message
news:rc******** *************** ******@news2.we st.earthlink.ne t...
In article <er0bc.6948$oR5 .4493@pd7tw3no> , "Noozer" <do*******@me.h ere>
wrote:
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.

Would a free lunch help? ;-)


Doh! I just want to know if it's at all possible, and maybe what object

I'd refer to as the "document" object isn't high enough up the tree to get me
out of my browser window and into the other browser window.
Couldn't you just copy the html page that the form is on and modify it?
Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be

fine.
I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.
As much as I'd like to be able to directly submit data to the other site,

it just isn't possible.


I regularly control (fill inn and submit) html forms like that by writing
a small Visual Basic app that opens the form in an internal browser control,
fills inn the fields by the help of the DOM tree, and submit it. All under
the
control of the VB app...

Can that be an idea?

--
Dag.
Jul 23 '05 #5
> Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be fine.


This is a security issue. You need to work with pages on the same
domain. A page from one domain may not modify a page from another
domain.

Perhaps, you can lower the security restrictions in IE.

This is a bit outside my scope of knowledge.
There are keyboard mapping programs that let you write scripts to
simulate keystrokes. There used to debug windows applications.

Perhasps you can write a post processing routine to check the input
and send the user email to correct the bad form.

Robert
Jul 23 '05 #6

You could have your form be part of a frameset with another frame loading the
original reporting tool. If you make that frame 0px x 0px it's invisible. You
then simply use javascipt to load up that frame in the header of your form
and then your submit action is to populate the orignal form and then submit it.

I've used the technique to allow large data sets to be uploaded to a server
(only way I could find to get past IE's 2k URL limitation).

Any good for you??
Jul 23 '05 #7

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

Similar topics

10
14741
by: Scott | last post by:
I'm new to ASP, but I've been programming in VB for several years, and I'm having a few issues with this ASP enhancement I'm working on. I've found ASP to be a lot different than what I'm use to in VB. I've created an ASP interface where a user can select an email group that populates a listbox with those email addresses. If a user sees an email in that list that they do not want then they can remove it by clinking the Delete button...
2
73385
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example, I have a simple form such as the following: <form method="POST" action="submit.php" name="AForm"> Name: <input type="text" name="Name" length="20"><br> Age: 15 <a href="age.php">change age</a><br> <input type="submit" name="submit"...
2
2315
by: Robert Nurse | last post by:
Hi All, I'm trying to alter the contents of a drop-down (select) list on the parent window from a child window in IE 6. After opening the child window, I set its opener to reference the parent like this: childwin = window.open(...) if (childwin == null) childwin.opener = self;
2
2222
by: maxrawson | last post by:
Greetings all: I have an asp.net application that is coded mainly in vb.net. I have successfully cut and pasted some javascript into my application that mimicks the datetime picker control in vb. I wanted to try to use that same code for another popup style window that displays a list of airport codes in a datagrid. The desired results would be that when an airport code (the datagrid's key field) is clicked the value would write back...
8
3326
by: Serge | last post by:
Hi, I have some intensive code that is running on my main thread. I try to show a status update on a 'status form'. The problem that i have is that because it is running in the same thread the window is not responding to the user. The user is now able to minimize, move the window because the code is too busy on it's own work. (and they are all running on the same thread)
2
23517
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent window to open a child window thru javascript window.open 2) I have some functionality in the child window that changes the data
6
9859
by: mkobus | last post by:
Im relatively new, so please be patient with me... I need to update a parent .aspx screen from a popup and close the popup. Normally I would use 'window.opener.location.reload(true);self.close();' but i need the parent window not to reload or else data that the user has already entered will be lost during the IsPostBack. I need the 'Apply' button on the popup to trigger the 'Update' button on the parent screen. The script ive seen...
6
5412
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has its AutoPostBack set to true and has its SelectedIndexChanged event being handled in codebehind. The event fires as it should populating two more ddls. The problem is, the two ddls appear empty. I have used a javascript alert to look at the...
2
2796
by: Shelly | last post by:
I have a form that updates and stays in the same window. That is the desired behavior. On this form I also have two buttons. I want those buttons to open up a new window with information taken from another field. I tried putting those two buttons in a form that has target="_blank", but it still came up in the same window. (That form is inside the outer form). I can make this happen if I put the forms one after another. The...
0
9599
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10372
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10112
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.