I\'ve got a page which opens a child window, from a parent.
After the user has done something in the child window, I need the child window to close, and its parent w
try this:
var parent = window.opener; parent.location ='some url'; window.close();
here is an example in a fiddle: http://jsfiddle.net/maniator/jGbZq/