javascript - Make text input fields remember previously entered data -


my text inputs seem not remember values have been typed before. example, many websites don't have account on, have, example entered email address before (buying train ticket "guest") give me sort of dropdown email addresses i've used in past. yet form not this. obliges me type out every time. seems opposite of this question..

i have simple inputs <input type="text" id="firstname" placeholder="first name" />

and submitted simple jquery ajax post. this. ajax isn't working on jsbin on example, show demonstrate basic structure. there jquery plugin this? way can control seemingly browser-driven behavior. thanks.

in browsers, can make browser display values entered in input fields giving name input. example:

<input type="text" id="firstname" placeholder="first name" name="firstname" > 

if field has no name attribute, browser won't show suggestions.

also check if javascript prevents default action on submit.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -