Hi there

i have a popup window where i submit a form ... after the form is submitted i want to reload the parent page . I use <form onsubmit :
Code:
onsubmit'=>'document.forms[0].submit();window.opener.location.reload(true);window.close();
but sometimes the form is not submitted and the page is reloaded...so how can i check if the form has finished submission and than to reload parent page and close popup??