How to trigger an onkeyup event that's delayed until a user pauses their typing?

后端 未结 7 744
生来不讨喜
生来不讨喜 2020-11-29 03:16

I have a textarea where people enter some text (naturally), and I want to make it so that an AJAX request is made every now and then to get some suggestions regarding what t

相关标签:
7条回答
  • 2020-11-29 04:13

    If you're interested in jQuery solutions, jQuery Suggest is a good implementation.

    No sense reinventing the wheel every time.

    0 讨论(0)
提交回复
热议问题