I have a form sitting in a Thickbox modal in a Symfony project. I am trying to make it so that when the user submits the form, the modal closes, form submits and the parent page refreshes to show the new data (saved to the db). I added to the function tb_remove()
parent.location.reload(1);
This looks like it refreshes the page, but in reality it isn't. Not sure if I need to throw a delay in the function, but when I have I am getting syntax errors. Any help is much appreciated.