I created a form, that opens a new window with some more options...

now, once the user pushes a button on the newly opened window, I want some thins to happen in the main form window.

I know that if I want some values to change, all I need to do is :
parent.opener.document.getElementById("UserInput").value = usrValue;

now I wanna know, how to run a certain function on the main window, once a button on the new window was pushed???



thanks, gilly914