Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7550943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:20:57+00:00 2026-05-30T10:20:57+00:00

Possible Duplicate: Run javascript function when user finishes typing instead of on key up?

  • 0

Possible Duplicate:
Run javascript function when user finishes typing instead of on key up?

I wrote a quick live filter that will filter a long list of about ten thousand items. The children of each item have a host of meta data related to them. Descriptions, related documents, usefors, etc. I bring in a letter at a time and filter the page from there. If someone types too quickly the page may not keep up. I might receive then multiple IDS of tag-C if I were to type ‘Cam’ to quickly.

My question asks is there a way to limit the function call until keystrokes have stopped. Almost a hoverIntent of keystrokes.

Here is a quick fiddle I whipped up showing about what I am after, http://jsfiddle.net/kb8Hw/
But my code is a bit more complex. I have a longer list, limit it to a single letter at a time, and normalize the search string a bit more. Essentially each time this.value[0] changes it returns to the server and grabs a new set of tags. From there I filter whats on the page using jquery.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:20:59+00:00Added an answer on May 30, 2026 at 10:20 am

    Start a timer. Reset it on each keypress. When the user stops typing (300-600 ms is good) the timer will fire. Call your function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Call php function from javascript I understand that php is server side
Possible Duplicate: JavaScript: var functionName = function() {} vs function functionName() {} What's the
Possible Duplicate: What is the (function() { } )() construct in JavaScript? I came
Possible Duplicate: Run a code in given time interval I have a method that
Possible Duplicate: Check status of services that run in a remote computer using C#
Possible Duplicate: Does a finally block always run? I learned that the finally clause
Possible Duplicate: Run Jquery method when enter key is press I am trying to
Possible Duplicate: Get property of object in JavaScript var Terminal = function() { this.walk
Possible Duplicate: Javascript switch vs. if…else if…else just curious if things will run faster
Possible Duplicate: jQuery/JavaScript: accessing contents of an iframe If i run this on my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.