I have a popup with a save button that works like this:

 

onclick="document.forms[0].Dispatch.value='Save';document.forms[0].submit();
window.opener.location.reload(true);window.close();"

 

The problem is that the parent window gets refreshed before the submit
finishes what it needs to finish, i.e., write stuff to the db. I want the
parent window to be refreshed after the submit has finished. What are some
ways I can try to make sure the submit finishes before the parent window
gets updated?

 

Thanks,

Brian Barnett

Reply via email to