Forum Moderators: open
I don't think you need AJAX for that. A simple line of javascript should be fine.
The value of a field can be read or set through
document.formname.fieldname.value. So if the name of the form is myForm and the field is called myField, that would make
document.myForm.myField.value.
A parent window can be addressed from a popup window through
window.opener. So the full line of code would be
window.opener.document.myForm.myField.value = 'some value';