david7777777777
Programmer
I have a page that contains:
1. Recordset (rsLastNames)to populate the list of employee last names for the drop down box. The onchange event of this passes a variable to the other recordset.
2. Drop down box to list the last names
3. Recordset (rsEmployees) to return the employee's information based on the last name selected in the drop down box. Parameter is passed via script.
4. Go button to press after the last name is selected
Now here's my problem: Once the user selects a last name from the drop down box, it's taking about 5 to 7 seconds before the server roundtrip is completed and it's ok to hit the Go button. I'd like to simply keep the Go button out of sight until it's ok to hit it. I cannot figure out how to hide the Go button until the server round trip (that is generated by the onchange event in the drop down box) has completed. As you can guess, if they hit the Go button before the server roundtrip has completed you get an error because the variable has not yet been passed to the other recordset. Thanks.
1. Recordset (rsLastNames)to populate the list of employee last names for the drop down box. The onchange event of this passes a variable to the other recordset.
2. Drop down box to list the last names
3. Recordset (rsEmployees) to return the employee's information based on the last name selected in the drop down box. Parameter is passed via script.
4. Go button to press after the last name is selected
Now here's my problem: Once the user selects a last name from the drop down box, it's taking about 5 to 7 seconds before the server roundtrip is completed and it's ok to hit the Go button. I'd like to simply keep the Go button out of sight until it's ok to hit it. I cannot figure out how to hide the Go button until the server round trip (that is generated by the onchange event in the drop down box) has completed. As you can guess, if they hit the Go button before the server roundtrip has completed you get an error because the variable has not yet been passed to the other recordset. Thanks.