Click the reply button to put the nickname of the current reply into the input box and click submit how to make it an anchor?

specifically, click the reply button on the floor you want to comment on, and then put the name of the person you want to reply into the input box (textarea), such as @ name,. Enter the content of the reply

. The content / / format of
@ name reply is not fixed

Click submit, and how to make it look like this in the comments list

@ name reply
rid in

is @ name "s rid of the current respondent.

The

question is, how do you make a reply as described above when you click submit? I also hope to be able to help solve this problem. Thank you very much! ~

Apr.02,2021

in fact, your problem is to remember to create a

when the rid, corresponding to name is submitted.

@ name reply content can be separated by string processing here, create a tag to set the href attribute, and the rid is stored in a place (eg.) Global).

or use regular expressions to replace @ name before restoring content with @ name


try
@ _ Niooo_ [_ Niooo_] so that you can create a @ name with a link on it

Menu