creating a popup window and disabling the parent using javascript

creating a popup window and disabling the parent using javascript

  
Hi guys!
 I'm tenzil and new to this forum. I want to create a popup window from the parent and after creation i want the parent disabled,and i want to use the information given by the user in the child and use it(information) in the parent.(the information is checkbox selection).

And Please check this attachment which is a example and its a html page.This code is not working (i.e.Parent doesn't Hide)

Help me guys..

Thanks,
Ten zil
Welcome Ten Zil!

Check this stackoverflow answer on how to pass the information from the child to the parent window.
As for keeping the popup always on top check this other answer.

Cheers,
Davide