/    Sign up×
Community /Pin to ProfileBookmark

How force value refresh for input if "remember pswd" is on?

I’ve found a weird issue with firefox. If I dynamically add in new inputs and “remember passwords” is on, it will take the value of the last input and put it into the one right after the new one I created.

So if I start with:

  • username

  • password
  • and add in “email address”, it’ll actually have the input values as:

  • email address

  • password

  • password
  • This persists even if I hit refresh!! The only way to get it to have the correct values is if I hit SHIFT and the refresh button together.

    If I turn off “remember passwords” this issue does not happen.

    to post a comment
    JavaScript

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @FangMay 22.2010 — Please show the code.
    ×

    Success!

    Help @6tr6tr spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...