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

  • SEARCH
  • Home
  • 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 6862275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:38:31+00:00 2026-05-27T02:38:31+00:00

I have some checkboxes that act as search filters. These search filters trigger an

  • 0

I have some checkboxes that act as search filters. These search filters trigger an ajax request and data is sent back from the server and displayed to the user. The problem is, there are several of these checkboxes and the user can select one after the other, selecting say, three in a row which equals 3 ajax requests. Ideally i would like only one ajax request be performed if the user has selected more than one search filter.

I’m trying to brainstorm and get some input on how i can wait for the user to finish checking the checkboxes before performing the ajax request. I’ve thought of alternatives such as adding a search button but it would be nice for the user to just select the options they want and be displayed the results.

I’m using jQuery, but mainly i’m just after ideas on how to implement this.

  • 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-27T02:38:31+00:00Added an answer on May 27, 2026 at 2:38 am

    When the first checkbox is checked, set a setTimeout timer to a function to get search results. If another checkbox is set, reset the timer. If the user waits long enough for the setTimeout to fire, perform the search. That way you get the best of both worlds, fewer calls but automatic searching.

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

Sidebar

Related Questions

Basically I have a set of checkboxes that are dynamically created from view data
OK I am sending data with $_POST to itself. I have some checkboxes that
I have a page with some checkboxes and a submit button. I use AJAX
Have a form that is emailed with checkboxes. Some checkboxes have an optional field
I have a form that contains some Checkboxes and one Radio. The problem is
I have a for loop that check whether some checkboxes are checked foreach (CheckBox
I have a form where i have to preselect some checkboxes. How is that
I have an ASP.Net user control that contains some checkboxes, and I want to
I have a list. In that I have some checkboxes. I am trying to
I have some code that displays input information from a checkbox in my email

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.