Disable the 'remember password' feature of browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AMT India
    New Member
    • Feb 2007
    • 64

    Disable the 'remember password' feature of browser

    How can I disable the password remembering feature of Browser (Both IE and Firefox) using JS ?
  • Logician
    New Member
    • Feb 2007
    • 210

    #2
    Originally posted by AMT India
    How can I disable the password remembering feature of Browser (Both IE and Firefox) using JS ?
    You can't. The settings in a user's browser are their concern, not yours.

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Heya, AMT.

      You can try adding autocomplete="o ff" to your inputs:
      [code=html]
      <input ... autocomplete="o ff" />
      [/code]

      Alternatively, add this code somewhere on your page:
      [code=javascript]
      document.getEle mentById('usern ameOrWhatever') .setAttribute( 'autocomplete', 'off' );
      [/code]

      Comment

      • AMT India
        New Member
        • Feb 2007
        • 64

        #4
        Disable the 'remember password' feature of browser

        How can we disable the 'remember password' feature of browser (IE and Firefox) using JS?

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Threads merged. Please do not double post.

          Comment

          • AMT India
            New Member
            • Feb 2007
            • 64

            #6
            Thank you...it works

            Comment

            Working...