S
S
sportik1742021-07-07 14:12:25
JavaScript
sportik174, 2021-07-07 14:12:25

How to autocomplete a field with a phone number in JS?

Hello! Such a question

In forms, when you click on the phone input field, a list of previously entered numbers usually pops up
. How can I get this list of numbers using JS?
In order to manage this list later, for example, to autocomplete the first number from the list

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2021-07-07
@Stalker_RED

No, it's a feature of the browser.

R
Rag'n' Code Man, 2021-07-07
@iDmitriyWinX

This is your browser cache, however, if you want to style it all your own, you can turn off autocomplete on the input and add your own using localStorage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question