Hello,
I wrote a DHTML application with tabs that the user can choose. Each tab displays a different form with different dropdowns to choose from. After the user chooses one of the tabs and fills out the form and hits submit, the results page displays.
At this point, when the user hits the back button, the original page with the tabs displays, however, the default tab always displays. The page cannot remember if the user chose a different tab and then hit submit, and then went back. What I'd like the page to do in this case is load the page with the user-chosen tab displayed.
The code I'm using is simple DHTML. The tabs are enclosed in <div> tags which, when clicked, calls a JavaScript function that changes the color and display attributes of the <div>.
Any ideas?
Thanks,
Peter
I wrote a DHTML application with tabs that the user can choose. Each tab displays a different form with different dropdowns to choose from. After the user chooses one of the tabs and fills out the form and hits submit, the results page displays.
At this point, when the user hits the back button, the original page with the tabs displays, however, the default tab always displays. The page cannot remember if the user chose a different tab and then hit submit, and then went back. What I'd like the page to do in this case is load the page with the user-chosen tab displayed.
The code I'm using is simple DHTML. The tabs are enclosed in <div> tags which, when clicked, calls a JavaScript function that changes the color and display attributes of the <div>.
Any ideas?
Thanks,
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Peter