|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Alternative to history.back()
In my app the user will select a country. If the country is 'US' then a select box is shown populated with 'US' states. If the country is anything else a textbox is shown. I toggle back and forth between the select box and textbox using
Code:
<td id="USState" style="Display: none" > The display will be 'none' or 'inline' depending on the situation. When the user presses 'Continue' and goes to the next page it works fine. The problem is when the user presses the 'Back' button. If the user changed from 'US' to something else the textbox is not shown when the user presses 'Back'. Is there a way to pass a variable back to the first page? Or is there another way that this could be done? |
|
#2
|
||||
|
||||
|
try adding the code that show or hide the table cell in the page onload event, it might help.
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Alternative to history.back() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|