homepage Welcome to WebmasterWorld Guest from 54.227.171.163
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Clear form field history
Clear previoius entries that drop down under input box
CDNQuilter

5+ Year Member



 
Msg#: 3803207 posted 6:37 am on Dec 9, 2008 (gmt 0)

Hi
When entering data into an <input type="text"> in a form, most browsers remember previous entries so that when a new entry begins with the same character as a previous one, the previous ones appear and can be clicked on. I expect that we all appreciate this most of the time.

However, I need to know how to get rid of these drop down entries for a rapid data entry project in which they are VERY distracting.

In searching the web, the only things I find are ways of clearing default values when the box gets the focus, e.g.
<input type="text" onFocus="this.value=''" value="Email address here">
This does not get rid of those drop down historical entries.

Does anyone know how to do this?

Thanks vm
jck

 

daveVk

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3803207 posted 7:04 am on Dec 9, 2008 (gmt 0)

try AutoComplete=off

CDNQuilter

5+ Year Member



 
Msg#: 3803207 posted 7:21 am on Dec 9, 2008 (gmt 0)

Yes! That did it.
Thanks.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved