Show cursor on two text box at same time

前端 未结 5 528
长情又很酷
长情又很酷 2021-01-20 04:30

I have two text boxes like,



Is it possible to focus th

5条回答
  •  死守一世寂寞
    2021-01-20 05:11

    Try doing something like this...Every time the left input is changed the right one's value is change too.

    $("#left").on("input",function() {
      $("#right").val($(this).val());
    });
    
    
    

提交回复
热议问题