Submitting a form to a pop-up window

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

I want to click submit on a form, but I want the results to be in a pop-up window. There's also some Javascript processing in the form.

For just a pop-up window, I would do window.open('blah.html'). And for just form submission, I would do document.formname.submit. But how do I do both?