Abhi2k5 Posted August 31, 2009 Share Posted August 31, 2009 Hello freaks, How to delete form cache throught javascript or php? Regards, Abhi Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.