Chrome doesn't remember input field value

dinodsaurus picture dinodsaurus · Sep 26, 2013 · Viewed 9.4k times · Source

I'm using HTML code like this:

<form method="post" action="#">
    <input type="text" name="inputFIeld" id="someVal" value="" />
    <button id="submitFun" type="submit">Dodaj</button>
</form>

The only thing I do is preventDefault on submit button click and then I make an ajax call to the server.

It works just fine on all browsers except chrome. Autocomplete on chrome just doesn't work.

Answer

BENARD Patrick picture BENARD Patrick · Sep 26, 2013

I find a link on chrome site :

Chrome : You should have to activate autocomplete :

https://support.google.com/chrome/answer/142893?hl=en