Current location: Hot Scripts Forums » General Web Coding » JavaScript » How to clear the history of a textfield?


How to clear the history of a textfield?

Reply
  #1 (permalink)  
Old 10-05-03, 05:12 AM
pschwar pschwar is offline
New Member
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How to clear the history of a textfield?

When a user is typing into a textfield, some browsers create a drop down menu with previous words the user has typed in the past. I want to get rid of this.

Can some Javascript fix this and clear the history a textfield??

Thanks!!!!!!!!!

- Phil
Reply With Quote
  #2 (permalink)  
Old 11-10-03, 03:38 PM
siva_sree siva_sree is offline
New Member
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Phil,

Do like this..

<input type=text name=test autocomplete=off value="testing">

This will work - Siva
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 11:03 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.