• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFDIV Bind for Live Search

New Here ,
May 06, 2011 May 06, 2011

Copy link to clipboard

Copied

I have a question about filtering results.

I have a text box bound to a cfdiv which essentially searches the database and displays the results in the div.

The problem I'm having is, the div refreshes on keyup but the database search can sometimes take a while, which means if someone types a couple of characters, the ajax requests can finish non-sequentially.

Is there a way to either cancel previous requests, or at the very least, force requests to be displayed sequentially?

Thanks!

TOPICS
Advanced techniques

Views

304

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 13, 2011 May 13, 2011

Copy link to clipboard

Copied

LATEST

I have no immediate solution for you, but may I ask why the results takes long time?

Is it the Query that takes long time to execute?

Or is it a lot of info being passed in the return result?

I seen a privies post like this (if I'm not wrong) and I think that if you will supply some more info, and maybe even code/link it will be easier for people (including me) to help you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation