Auto fill and submit using javascript

wiss1990

Newbie
Joined
May 7, 2012
Messages
21
Reaction score
2
hello coders,
can anyone help me to know how to auto fill and submit a form from external link located in an iframe in my website?
I need this ,plz anyone give me this script!
 
Accessing foreign domain content in an IFRAME is forbidden by the same origin policy.
 
You'd be better off replicating the form, POSTing the data to external form yourself on your server, and spitting the output back to the user.
 
You'd be better off replicating the form, POSTing the data to external form yourself on your server, and spitting the output back to the user.
Agreed with this. Though, I will say, I believe you can do this as we have on production sites in the past by using a certain character string in your .htaccess file. So, go ahead and PM me and I'll send you the .htaccess file string you'll need to allow for the ability to execute the code from one domain to the other. Then I can help with the code as well.
 
Back
Top