?
Solved

Submitting a child window form without asking for retry to resend information

Posted on 2003-11-03
4
Medium Priority
?
937 Views
Last Modified: 2007-12-19
Hi,

I am opening a child window in which after enetring some data i am submitting the form. But when i am clickiing submit button then blank page is coming with message :-----The page can not be refreshed  without resending the information.Click retry to send the information again , or click cancel to return to the page you want to view.   i want  not to come this message and directly submit the form and came back to parent page.
I am writing like this-----

window.document.forms[0].submit();      
window.close();      
window.opener.location.reload();
window.opener.focus();
return true;

If i am clicking retry button then working fine.
Pls suggest me some solution to not to get this message and directly submit.
0
Comment
Question by:anirudh4uonly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:NetGroove
ID: 9669988
Rearange to this:

window.document.forms[0].submit();    
window.opener.location.reload();
window.opener.focus();
window.close();    
return true;


0
 
LVL 10

Accepted Solution

by:
NetGroove earned 500 total points
ID: 9669995
For the refresh problem you could try this:

window.document.forms[0].submit();    
window.opener.location=window.opener.location.href;
window.opener.focus();
window.close();    
return true;

0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10346714
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: NetGroove {http:#9669995}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jAy
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question