Abhi2k5 Posted August 31, 2009 Share Posted August 31, 2009 Hello freaks, How to delete form cache throught javascript or php? Regards, Abhi Link to comment https://forums.phpfreaks.com/topic/172551-solved-how-to-delete-drop-down-cache/ Share on other sites More sharing options...
prasanthmj Posted August 31, 2009 Share Posted August 31, 2009 do you mean the addressbar in the browser? That can't be cleared programatically by a web site. The browser's user only can do it through menu options. Link to comment https://forums.phpfreaks.com/topic/172551-solved-how-to-delete-drop-down-cache/#findComment-909612 Share on other sites More sharing options...
mattal999 Posted August 31, 2009 Share Posted August 31, 2009 There's no such thing as a form cache. And because the title says drop down cache, I guess you're having a problem like the user clicks the back button and all of the elements are still as they were. In which case, you could try javascript to re-set the values of the boxes with a delay on page load. Something like: setTimeout(document.forms[0].textboxname.value='', 50); That would set the value of the textbox named textboxname to nothing after 50 milliseconds. Link to comment https://forums.phpfreaks.com/topic/172551-solved-how-to-delete-drop-down-cache/#findComment-909623 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.