Try referencing with:
opener.document.forms['f1'].p_name.value = document.forms[frm].c_name.value
Troy III
Practically a Master Poster
609 posts since Jun 2008
Reputation Points: 120
Solved Threads: 80
first discribing the error
and posting some code of the faulty lines
and lastly, where are you calling these commands from?
would rise your chances for solution a lot.
because you see there used to be a working hack for even closing a single (user opened) main window through script without a prompt by simply stating:
self = opener;
self.close(); //or something
[it doesn't work anymore - but not totally sure I haven't tried it since decade ago].
Troy III
Practically a Master Poster
609 posts since Jun 2008
Reputation Points: 120
Solved Threads: 80