How to save the last changes you have made with your page
-
i have a question ??????? i have 4 html button in my home page with one default active one 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 one ignoring the last choise which i have made i want the page to be reloaded with the last choise button not the default button how can i do that ???????? i hope that my question is clear Thanks ,
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
-
i have a question ??????? i have 4 html button in my home page with one default active one 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 one ignoring the last choise which i have made i want the page to be reloaded with the last choise button not the default button how can i do that ???????? i hope that my question is clear Thanks ,
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
You have to store the selection somewhere, like a cookie, or your database. Then you have to read the value and change your page to reflect the choice.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
You have to store the selection somewhere, like a cookie, or your database. Then you have to read the value and change your page to reflect the choice.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
ok the choise happend on client side the server has no idea about it so i need by using java script to creat a cooki and save the user choise in it and send it to the server how can i create cooki by using java script
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH