Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using Javascript to Disable the remember username and password window

    Most of the browsers has a feature that prompts the user to save the username or password when filling a form.

    I just want to disable this feature.
    Can i disable this feature using Javascript?

    Because there are some users that will not read on the message or information on the pop window that prompts them to save the username and password.
    I know it can be disabled manually through the browser's preferences.

    Is it possible to disable it using javascript?
    Last edited by kramx7; 10-11-2006 at 06:04 AM.

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Try adding an autocomplete="off" to either the form element or the input element. Note that this doesn't work on all browsers, and that it doesn't prevent using already saved passwords.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •