Get button event

Get button event

Hi,

I'm very new to JQuery and never worked with it before but a friend of my gave me a hint to solve my problem with JQuery, so here I am. The thing I want to do is the following:

I have a webpage in PHP that contains a button that will open a popup window. In that popup window I load the content of an other site with an iFrame. On that site is a form with some questions (a test), radio buttons and a submit button. When the user clicks on the submit button it will load another page (which is not an m which contains the result of the test.

The thing I want to do is get the result into a variable (properly with file_get_content), close the popup and show the result on my own webpage.

Is this possible with PHP, Javascript of JQuery at all?