Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling autocomplete in Netscape 6.0

 
Prashant Vasha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application needs to disable the auto complete functionality of the browser, i.e., even though the browser's auto complete functionality is on, the browser should not be able to remember the user name and password of my site.
how do i accomplish the same using java script.
i have set the autocomplete property of the form tag in html to "off" and the same works in IE, but it does not work in netscape.
Any help is appreciated.
Thanx & Regards
Prashant
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<form> elemnet has an attribute " autocomplete=off"
So u need to write like this
<form name= "blah blah" method="post" autocomplete="off">
hope that helps u
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "autocomplete" attribute to the form tag is not part of the HTML 4 or of the XHTML 1 standards. So it is possible that it is an IE-only extension, and as such would not work in any other browser.
As to whether there is a corresponding Netscape-only extension, I do not know.
hth,
bear
[ March 05, 2003: Message edited by: Bear Bibeault ]
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh yea that is true i didnt read the post completely. SORRY FOR THAT.AutoComplete is a feature of IE. Bear is rt.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/forms/autocomplete_ovr.asp
But im somewat sure i saw a js in mozilla.org to turn off that feature.

:roll:
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NS doesnt have that feature of "autocomplete" for forms so why we need something to disable that rt?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic