Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-12-2013, 04:55 PM   PM User | #1
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 960
Thanks: 7
Thanked 100 Times in 100 Posts
WolfShade is an unknown quantity at this point
Angry infinitescroll issue

Hello, everyone.

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.

Thank you,
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Old 02-12-2013, 10:13 PM   PM User | #2
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 960
Thanks: 7
Thanked 100 Times in 100 Posts
WolfShade is an unknown quantity at this point
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.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Old 02-13-2013, 01:29 AM   PM User | #3
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,530
Thanks: 0
Thanked 503 Times in 494 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Can you supply a link to the page so that others can see the actual code.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Old 02-13-2013, 01:36 PM   PM User | #4
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 960
Thanks: 7
Thanked 100 Times in 100 Posts
WolfShade is an unknown quantity at this point
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.)
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Reply

Bookmarks

Tags
jquery infinitescroll

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:27 AM.


Advertisement
Log in to turn off these ads.