1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Rep Power

    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??

    I'm using CF 9, javascript and sql server.

    Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there.


  2. #2
  3. No Profile Picture

    Join Date
    Jun 2002
    Raleigh, NC
    Rep Power
    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.

IMN logo majestic logo threadwatch logo seochat tools logo