sleeper
07-30-2003, 07:25 PM
I'm new to Javascript and I was hoping someone could help me with a site I'm working on.
Basically I have two radio buttons: File and Paste
The default is File and I displays a file chooser right under it.
I made a Javascript function so that if you click Paste, it will show a textbox.
My problem is when after you hit "Submit" (a button on the bottom of the that will display a different HTML), and then press the "Back" button. Back on the original page, it will have "Paste" radio still clicked, BUT it will show the file chooser.
All the text is still in the textbox of paste also, but I was wondering if anyone knew how to make it show the textbox still when you hit the "Back" button.
Thanks a lot!
Basically I have two radio buttons: File and Paste
The default is File and I displays a file chooser right under it.
I made a Javascript function so that if you click Paste, it will show a textbox.
My problem is when after you hit "Submit" (a button on the bottom of the that will display a different HTML), and then press the "Back" button. Back on the original page, it will have "Paste" radio still clicked, BUT it will show the file chooser.
All the text is still in the textbox of paste also, but I was wondering if anyone knew how to make it show the textbox still when you hit the "Back" button.
Thanks a lot!