Hello all,
at the moment I’m writing on some javascript stuff. Never used it before, I’m very impressed of the things you can do with javascript:>
But at all there is a problem i don’t get solved yet:
From a normale page, there is opened a popup, which holds a form.
When pressing a button/picture in this popup another popup should open.
After doing some stuff in the second popup, this one should write a value in a speicified field of the first popup.
at this point i got stuck.
I tried it with window.opener.document.aForm.aField.value = “abc”,
but it does not work:/
Is it possible to set values from a popup into another popup? or is it in general possible to set values of fields in popups?
Here is the javascript code:
<script>
function setPopupValue(fieldname, fieldvalue)
if (self.opener && !self.opener.closed) {
opener.document.basicSearch[fieldname].input.value = fieldvalue;
opener.focus();
}
window.close();
</script>
a lot of greetings and in advance
steftom