Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Working with Ajax
All of the controls used thus far have embedded data (queries, lists, and so on) inside of the controls themselves. That works in many situations, but consider the following scenarios.
What if your auto-suggest values are being populated by a table that contains thousands of entries? You don’t want to load all of these entries into a list in the control itself. For starters, that will increase the page size significantly and seriously affect performance, but also, you don’t want to show your user that many options. What you really want is no data at all in the auto-suggest control; when the user types some text and pauses, you want your application to send that text to ColdFusion, which then returns the relevant auto-suggest ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access