robn
Posts: 70
|
Posted: 01/06/2006, 9:21 AM |
|
Hello
Right I have an interesting problem (well at least I think it is), currently I have a document that has popups associated with it. When data is saved in one of these popup it closes and refreshes the main window (so the main screens data is updated).
The problem I have is certain list boxes (on the main form) use URL parameters to set the filtered list. Changing data in the popup window may change the value of one of the listboxes, but when the page is reloaded the URL parameter in the address bar does not update, so the list box filters are incorrect.
To try and get round this problem by adding an onload event event that refresh the URL parameters with the current parameters. It appears to pull in the refreshed parameters but the page just loops. Is there a way to force the page to just refresh once in the onload event?
My code looks something like this
window.onload = function() {
window.location.href = "Callf3.asp?logno=" + tblQualcall.Logno.value + "&s_Category=" + tblQualcall.Catlink.value;
}
Any help would be great
thanks in advance
Rob
|
|
|
matheus
Posts: 386
|
Posted: 01/17/2006, 5:39 AM |
|
This was going to be loop every time.
You must do some variable that can make a difference from "pop-up refresh", and your redirect after this.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
|