I hope there is a way 
OK, here's a line which is called from a function when I need to reload the page :
Code:
form.submit(window.setTimeout('location.reload()', miliseconds_reload));
which is doing the job quite well... There's another line in the same function which is called when I need to redirect the user to another page (usually AFTER modifying the database and to show the results). I've tried several javascript redirect methods i.e.:
Code:
form.submit(window.location = 'http://www.yourdomain.com');
The page is redirected but somehow the changes which were made at the previous page (ajax call) are not shown at the new page till page reload/refresh... Hope that makes sense to you and you can help me out! 
Thank you in advance.
Bookmarks