Open link in parent from child window or iframe using javascript

If you want to control parent window’s URL from the child frame or child window you can use “window.parent” to control the parent window. The complete solution is: <script type=”text/javascript”> function check(url){ window.parent.location.href=url; }...