O
Oliver Hoehle
Hello!
I want to open a new browser-window with javascript and fill some
input-fields in this window with predefined values. So the User does
not have to edit the input-fields manually but only has to submit the
form.
....
var childWindow = window.open("http://anyForm.html");
childWindow.document.getElementsByName('anyinputfield')[0].value='hello';
....
Unfortunately this does not work... Mozilla throws an error:
"Error: uncaught exception: Permission denied to get property
Window.PropertyIterator"
Is there any workaround?
Regards
Oliver
I want to open a new browser-window with javascript and fill some
input-fields in this window with predefined values. So the User does
not have to edit the input-fields manually but only has to submit the
form.
....
var childWindow = window.open("http://anyForm.html");
childWindow.document.getElementsByName('anyinputfield')[0].value='hello';
....
Unfortunately this does not work... Mozilla throws an error:
"Error: uncaught exception: Permission denied to get property
Window.PropertyIterator"
Is there any workaround?
Regards
Oliver