File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Disable TextBox Ability To Display Old Data Typed In It Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable TextBox Ability To Display Old Data Typed In It" Watch "Disable TextBox Ability To Display Old Data Typed In It" New topic
Author

Disable TextBox Ability To Display Old Data Typed In It

Maya sekar
Ranch Hand

Joined: Sep 22, 2011
Posts: 70
Hi Everybody :) ,
I am working on jsp. You know everytime we enter data into a text box in jsp and it displays old data entered in a drop down. I want that disabled. How do i do that? Any help is appreciated.

Thank you,
Have a great day. :)
Deepak Rao
Ranch Hand

Joined: Jan 24, 2012
Posts: 31

Hi Maya,

I think you are talking about the autocomplete. That is a browser feature which can be turned off in browser.

But I think there is a autocomplete="off" attribute for the form as well.
Give that a try.

Thanks
Deepak
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19781
    
  20

That attribute has been added in HTML5, so not all browsers will support it.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disable TextBox Ability To Display Old Data Typed In It