Here's what I'm trying to do:

I have a popup window which is launched from a parent window. From that popup window, I'd like to populate x number of fields in the parent window by clicking a link.

I've done the google thing and pulled the following code: window.opener.myForm.myField.value = myVar which seems like it would do the trick, HOWEVER, I'm looking for a way to pass multiple field/value pairs back to the parent window.

I guess I could do it with a function that would be called for each field/value pair...but that seems like an in-elegant way to go about it. I'm no javascript expert so any advice would be welcome.

Thanks!