It mainly introduces the js implementation after obtaining the focus and after the cursor is placed in the string. The principle is to copy and paste yourself again after obtaining the focus. Friends who like it can take a look
The code copy is as follows:
var t=$("#"+id).val();
$("#"+id).val("").focus().val(t);
//The principle is to copy and paste yourself again after gaining focus