Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

154
Views
Onkeypress event in JavaScript

Hi I am working one application ,in this application I need to show the typing indicator , I am able to show that indicator ,when the user is typing I am sending a message to receiver that the user is typing, I am sending this message continuously when the user press with onkeypress event any key, Now my question is I want to send this message when the user starts typing and next message I want to send after 20 Seconds

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I'm not sure if this is what you asked for but here it is:

      setTimeout(() => yourFunction(args), 20000);

the function will be called after 20 seconds, you can define the function to check for key presses and then send the is typing.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!