reload web page proplem
-
i have a question ??????? i have 4 html button in my home page with default active button when i choose any other button it become the active one and display a certain photo but when i make refresh to the page it reloads with the default button as the active button ignoring the last choise which i have made , if i can save the user choise , how i can save the changes that he had made when the page reloaded every thing back to the default setting i want the page to be reloaded with the last choise button not the default button how can i do that ????????
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
-
i have a question ??????? i have 4 html button in my home page with default active button when i choose any other button it become the active one and display a certain photo but when i make refresh to the page it reloads with the default button as the active button ignoring the last choise which i have made , if i can save the user choise , how i can save the changes that he had made when the page reloaded every thing back to the default setting i want the page to be reloaded with the last choise button not the default button how can i do that ????????
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
1. You can store that information in cookie. 2. Onload event of body, you can set the last choice button by reading the value that you stored in cookie.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."