Page refresh after adding a event.

Hi all,
I have implement a scheduler with symfony 1.4 and it’s work fine. I have a very little problem with that so guys please help me. Actually i want to refresh the page after user add an event. How can i do it please help me out.

Thanks in advance.

You can use something like next

scheduler.attachEvent("onEventAdded", function(){ window.setTimeout(function(){ scheduler.clearAll(); scheduler.load(url); },1); })