helloanddie Posted June 30, 2008 Share Posted June 30, 2008 hi there, does any one of you knows how to retain value of textbox when page is being refreshed? many thanks in advance Link to comment https://forums.phpfreaks.com/topic/112523-retaining-values-of-textbox-when-page-is-being-refreshed/ Share on other sites More sharing options...
gijew Posted June 30, 2008 Share Posted June 30, 2008 If the user submits the page you can read up on sessions here. http://us3.php.net/sessions If you're just trying to save a value after it's been typed look into setting cookies with javascript. Not the best way IMO. Link to comment https://forums.phpfreaks.com/topic/112523-retaining-values-of-textbox-when-page-is-being-refreshed/#findComment-577777 Share on other sites More sharing options...
helloanddie Posted July 1, 2008 Author Share Posted July 1, 2008 hi there, but i understand that by using javascript to retain values , the validation will also be done in javascript. Now, my validation codes have been written. I have tried it with session but it does not seemed to work. Sorry for the inconvenience given to you by me and once again, thanks Link to comment https://forums.phpfreaks.com/topic/112523-retaining-values-of-textbox-when-page-is-being-refreshed/#findComment-578837 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.