How to prevent keyup function from lagging when the user types

前端 未结 0 849
孤街浪徒
孤街浪徒 2021-01-30 10:14

I am trying to create a search function in jQuery:

$(\'input\').on(\'keyup\', function(){
    var searchTerm = $("input").val().toLowerCase();
    $(\'.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题