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?