jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes Delete cached information using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Delete cached information using JavaScript " Watch "Delete cached information using JavaScript " New topic
Author

Delete cached information using JavaScript

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
I have a JSP page that has a form that holds few textboxes.
I want to delete the history information of these textboxes using JavaScript / HTML.
Presently if I write “A” in a textbox, all values entered previously and start with “A” will appears for the user selection.
I want to remove this cached information from JavaScript.
How to do this?


My blood is tested +ve for Java.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript has nothing to do with that since that is a built in functionality of the browser. You can add an attribute to the element so it does not do the auto complete.

autocomplete="off"

Eric
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Originally posted by Eric Pascarello:
JavaScript has nothing to do with that since that is a built in functionality of the browser. You can add an attribute to the element so it does not do the auto complete.

autocomplete="off"

Eric


Hey Eric Thx!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Delete cached information using JavaScript
 
Similar Threads
can't run struts-example.war in WAS 4.0.3
Not able to retrieve files name s from a folder
How to convert an InputStream to an OutputStream?
param
logic:iterate tag