I have a link in a page on clicking the link a popup opens. In the popup i fill some fields and submit (update). After submitting the parent window should show the updated values. At the time of submitting the form in popup i am getting a message, Internet Explorer alert on resending information. How to prevent this message?
Thanks
parent window refresh
Moderator: General Moderators
Re: parent window refresh
How are you submitting the form in the popup? If the action= points to the main form, I don't think the browser should give that message. Isn't that only for when using Back or history?thatsme wrote:I have a link in a page on clicking the link a popup opens. In the popup i fill some fields and submit (update). After submitting the parent window should show the updated values. At the time of submitting the form in popup i am getting a message, Internet Explorer alert on resending information. How to prevent this message?
Thanks
Re: parent window refresh
In the parent window: put a form which fields contain all the data to refresh the page, but without any visible elements (i.e. submit button). Let's have a value of its ID "formID"
In the child window: call
[js]parent.forms['formID'].submit()[/js] on submit (update).
In the child window: call
[js]parent.forms['formID'].submit()[/js] on submit (update).
There are 10 types of people in this world, those who understand binary and those who don't
Re: parent window refresh
"parent" is better/preferable/standard compared to "window.opener" ??