dinodsaurus
dinodsaurus

Reputation: 5095

Chrome doesn't remember input field value

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.

Upvotes: 5

Views: 12866

Answers (1)

BENARD Patrick
BENARD Patrick

Reputation: 31005

I find a link on chrome site :

Chrome : You should have to activate autocomplete :

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

Upvotes: 0

Related Questions