Solved

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

Posted on 2003-11-03
4
930 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 125 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…

739 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