Trouble passing value from a pop-up window to parent window using Javascript

Hi there:

I’m using this code to pass a value from a pop-up window to its parent window.

opener.document.forms(0).ItemCategory.value=data;

The value does appear in the editable text box on the parent window, but when I try to use that value, it tells me that the field value is null even though it is not!!!

Any ideas?

Frazzled

Subject: Other than your mistype (I assume)

opener.document.forms(0).ItemCategory.valueshould be

opener.document.forms[0].ItemCategory.value

I see nothing wrong.