search

Home  >  Q&A  >  body text

javascript - How to implement fuzzy matching in the front-end input box?

An input box, enter a text to match the lower-level user name; for example, enter a, the bottom will prompt aaa, a22, a222, asd, axxx and other user names

怪我咯怪我咯2753 days ago623

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-05-19 10:32:30

    This is based on reading the contents of the database
    1. When you enter content in the input box, an ajax request is initiated based on the keyup event. Get relevant data from the backend and return it to the frontend

    reply
    0
  • Cancelreply