I want to fill in a whole form just by pressing on 1 button.
The code i used (local) for this is:
parent.frames['iFrame'].document.getElementsByName('FormField').value = "Text to put in formfield";
<input type="button" value="Do It" onclick="text();">
<iframe name="iFrame" id="DS156" src="http://www.otherdomain.com" width="500" height="500" frameborder="1">
Thing is, the content i want to post, must go to a different domainname.
When i test the html file (with above code) locally, it puts all the information into the form (on the other website) succesfull.
When i upload the html (with above code) to my webserver and test it in (for example) InternetExplorer, it says "Access Denied" and refers to the line parent.frames.... etc.
Any idea how to solve this?
Thanks, but thats the problem.
I want information from 1 page filled in into another page on a different domain.
It's not possible to place both websites on the same domain...
I found this article, but didn't quite understand if this would help me...
Thanks for the help
Originally Posted by
Users Browsing this Thread
There are currently 1 users browsing this thread.
(0 members and 1 guests)