Article From:

jqueryHow to implement the @somebody function? Someone is the UserName in the database User table. Is there a God who can give you some ideas
Thank you.

Answer 0:

You can add a Keyup event listener in the input input box. When a user enters a @ symbol, the list of UserNames in the database User table is invoked, and the user can click on it or enter it manually.

Answer 1:

You call a @ and look at the request in network, you probably know.

Leave a Reply

Your email address will not be published. Required fields are marked *