Has anyone had any luck reloading a parent page from within an iframe?
I have an online customer form loaded in an iframe, which allows customers to update their UPS/Fedex shipper numbers, but the parent page has to be reloaded / refreshed after "submit" in order for the shipper # to be changed when the customer hits "order sample" again.
I can't seem to reload the parent page from within an iframe with Javascript though. The iframe I'm working with is here http://www.avaline.com/ R3000_3 once you log in, then hit the "order sample" button, and then hit "here" where it says "Your Third Party Shipper Numbers (To enter one, click here.)".
I tried using javascript statements window.top.location.reload(),window.parent.location.reload(),window.parent.location.href=window.parent.location.href but none of those worked in FF 3.6 so I didn't move on to the other browsers although I am shooting for a cross-browser solution.
I put the one-line javascript statements inside setTimeout("statement",2000) so people could read the content of the iframe (You have updated your shipper number(s). The page should refresh automatically. If not, please refresh and return to "order sample.") before the redirect happens. This shouldn't cause problems though.