Hello everyone!

Ok i have a question, I have a php calandar and when you click on a date a pop up comes up and you are able to add entrys to the main calandar. That works just fine, but i need help figureing out how to refresh the main calandar after someone has pressed the submit button on the pop up. Thanks!!

:)

Tried that, that will bring the main calandar back up in the pop up screen, what i want is the parent window to be refreshed after the submit button is pressed. Thanks though!

Thanks for the replys but i figured it out.. This is how i did it....

i put this in the Head

<script language="JavaScript" type="text/javascript">
<!--
     function refresh() {
 
 // reload parent window
 window.opener.location.reload()
  
    }
    
    //-->
</script>

And then put this with the submit button...

<input type=\"submit\" name=\"submit\" value=\"Submit\" onClick = refresh()>
This question has already been answered. Start a new discussion instead.