Question : How can I refresh my screen after this query is run?

On my admin page, my user selects from a pull down menu the organziation they want to enter as part of their application. I want a link to be made available on that page where they can add an organization right there on the spot using a little pop up window. After then add their new organization, I'm wanting the original screen containing the pull down menu to be automatically updated to reflect the organization they just added.

How would I do that?

Answer : How can I refresh my screen after this query is run?

Try something like this in the popup when you close it:

<script language="JavaScript">
<!--
function refreshParent() {
  window.opener.location.href = window.opener.location.href;
  if (window.opener.progressWindow) {
    window.opener.progressWindow.close()
  }
  window.close();
}
//-->
</script>
Random Solutions  
 
programming4us programming4us