I have a form where in the user goes and types a text in the text field. My problem is that when the user is visiting this page, the previous text that has been typed in that text box is being displayed. I donot want that to happen as that text is a sensitive issues. Can anyone provide me a solution for that.
I tried using this code in javascript to clear the form cache but of no use. I also tried clearing the browser;s cache but of no use. Please suggest. Thanks.
Code:
function clearForms()
{
var i;
for (i = 0; (i < document.forms.length); i++) {
document.forms[i].reset();
}