Reputation: 414
Here is the thing, I have a form in my web site looks like something like this:
Name: ----
Last name: ----
.
.
.
something like this, I work with a site that I have to send this information and type this requests again in that site with the same fields.
It means I want to copy my forms data to the target website's form with the same fields.
I do not have the access to target website's codes and I'm just a user there.
So I want to know if there is a way using Jquery, javascript or anything help me make a button that When I click that the data copy from my site to the target website.
Is it possible to access another browser's page tab inside another one??!! with jqyery?
Thank you in advance
Upvotes: 4
Views: 11925
Reputation: 5201
I haven't tried your problem, and this is just an opinion.
If that website is using a get() method, you are saved. You can form a query string in the same format and execute it, else if you are trying to do something like that automatically if there is some captcha check you may fail, and the server will be blocking you thinking it's a DOS attack.
And this is something which may be helpful to you. Javascript communication between browser tabs/windows
Upvotes: 1
Reputation: 5201
var w2 = window.open("Website you need to fill the form");
Now use w2
as owner window, in order to access the elements.
Upvotes: 0