March 1st, 2012, 11:02 PM
Show More Functionally
hello, I'm wondering if someone can help me or point me to an example of the following:
I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a "show more" button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs??
Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there.
March 2nd, 2012, 12:22 AM
If you don't want a page refresh then yes, AJAX is the only real option. CF has built-in support for this, or you can look at something like jQuery.