I try to reload parent web page from iframe. Here is my code:
Your code will be working only when the parent and child are running from the same protocol(http/https), same host and same port. This is known as Same Origin Policy (SOP). You can check the below reference: http://en.wikipedia.org/wiki/Same_origin_policy
You can set document.domain="domainName:port"
in Firefox. It can't set a default value of port, you should set by yourself, if the port is different!