Forum Moderators: open
However it sounds to me like you should be looking at an AJAX Pattern [ajaxpatterns.org] instead.
So ... my Javascript is about as poor as I am. Can anyone help me out and throw me a bone on how exactly to use setTimeout() and reload a page with a querystring appended to the URL?
window.location = '/page_name?variable1=hello&variable2=world';
I also think this will work:
self.parent.location = '/page_name?variable1=hello&variable2=world';
All you need is to nest that code into a timer and set it to fire after the timer runs out.
I think like this will work
window.setTimeout("self.parent.location = '/page_name?variable1=hello&variable2=world'", 1000);
[edited by: Demaestro at 8:57 pm (utc) on April 24, 2008]