Refreshing frame page using javascript

Posted by Roland on Stack Overflow See other posts from Stack Overflow or by Roland
Published on 2010-06-07T10:58:42Z Indexed on 2010/06/07 11:02 UTC
Read the original article Hit count: 216

Filed under:

I have the following two frames frame 1 with name="top" and frame 2 with name "main". Now in main there is a button called add number, which brings up a normal browser popup, in this popup I have a form that needs to be filled in and then I click submit on this form and then the main frame should reload, the form processing happens within the popup page and then after processing the main frame should refresh. The following code does not work, Am I doing something wrong?

window.opener.main.reload();

© Stack Overflow or respective owner

Related posts about JavaScript