HighDots Forums  

Re: One IE window update a form in another IE window?

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: One IE window update a form in another IE window? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert
 
Posts: n/a

Default Re: One IE window update a form in another IE window? - 04-03-2004 , 03:08 PM






In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <dont.spam (AT) me (DOT) here>
wrote:

Quote:
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


Reply With Quote
  #2  
Old   
Noozer
 
Posts: n/a

Default Re: One IE window update a form in another IE window? - 04-03-2004 , 10:07 PM







"Robert" <rccharles (AT) my-deja (DOT) com> wrote

Quote:
In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <dont.spam (AT) me (DOT) here
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.

Quote:
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.

Quote:
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!




Reply With Quote
  #3  
Old   
Dag Sunde
 
Posts: n/a

Default Re: One IE window update a form in another IE window? - 04-04-2004 , 11:47 AM



"Noozer" <postmaster (AT) 127 (DOT) 0.0.1> wrote

Quote:
"Robert" <rccharles (AT) my-deja (DOT) com> wrote in message
news:rccharles-A7958A.15135803042004 (AT) news2 (DOT) west.earthlink.net...
In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <dont.spam (AT) me (DOT) here
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.




Reply With Quote
  #4  
Old   
Robert
 
Posts: n/a

Default Re: One IE window update a form in another IE window? - 04-04-2004 , 03:21 PM



Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.