How to click a button to let the ios system Wechat browser input get the focus pop-up soft keyboard

the requirements are as follows:
there are multiple clickable areas on the mobile page, and you are required to click on any one of them. The specified input needs to get focus and pop up the soft keyboard at the same time. There is no problem in Android, but not in ios. Here is the code

.
$("a[href="-sharpbox"]").on("click",function(){
    setTimeout(function(){
        $("input[name="name"]")[0].focus();
    },0);
});
Mar.10,2021

label tag for attribute, you will like me.
triggers file , date can all be triggered, and is inherently pollution-free

.
Menu