Home  >  Article  >  Web Front-end  >  A small example of using js to automatically match characters in the input box_javascript skills

A small example of using js to automatically match characters in the input box_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:30:551039browse

html

Copy code The code is as follows:

The input box automatically matches characters~

But there is a problem~all The matching characters must be written in advance ~ probably if it is a large website ~ it should use the records in the database



html
Copy code Code As follows:






Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn