I'm attempting to utilize the jQuery infinitescroll plugin and I'm smacking into a brick wall.
The primary page is called "search_results.cfm" - it queries a database, displays the first five rows of data, and if the number of records is greater than 5 it should display a - More - link. The test query that I'm using is fetching exactly 40 records from the database.
But where the link is supposed to be, I get the "No more articles" message. I've tested the conditional, and it's definitely reporting 40 records; but after the initial five, nothing.
The secondary page is identical to the recordset display section of the primary page - same elements, same classes, etc. - and also displays only five records. I've run this page directly in a browser, it IS getting data, it IS displaying the data, there are NO errors (I'm using a try/catch and setting a session variable to the catch message, which will display - if it exists - on the next page load. No error messages are displaying.)
Any ideas on what could be preventing the next five records from showing? I'm not even given a chance to click the link - it's replaced by the message immediately.
I've managed to use FireBug (if using it is what you can call my complete lack of experience, with it) on the page, and have gleamed from it that:
1) The secondary page is being called, is processing the data without error, and is actually producing and sending back the HTML that I intended for it to create.
2) The primary page is still getting the "No more articles to retrieve" message, despite #1.
C) I'm pulling my hair out and should be completely bald (and bleeding) before tomorrow.
Can you supply a link to the page so that others can see the actual code.
Unfortunately, I cannot. My dev system is isolated from the internet, and I have no way of copying/pasting code in here (can't burn CDs, and flash drives are proscribed.)