PDA

View Full Version : user too fast for script and server


DiaH
01-08-2003, 07:33 PM
I have a page with 2 combo boxes on it. The second of the combo boxes is filled off of the first. The user needs to select from the first box to fill the second box. When the user submits this page and submits the next page then uses the back button on the browser to navigate back, the second combobox is empty despite the first box having a value selected.

How do I force the page that if the first box if filled it needs to query for the second box even when they use the back button?

Thanks,
Dia

landon11
01-08-2003, 08:15 PM
call the function from the onLoad event

DiaH
01-08-2003, 08:35 PM
Calling the script makes the page loop.

I tried using a refresh in the onload if the second box is empty but that didn't work either.

I really do think its b/c the user is clicking faster than the server is processing.