Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8259395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:51:12+00:00 2026-06-08T02:51:12+00:00

The $catcount remains the same while passing, eventhough it chnages its value , the

  • 0

The $catcount remains the same while passing, eventhough it chnages its value , the url sends the same old value

<script type="text/javascript">
    var $catcount=1;
    jQuery(document).ready(
        function() {

            jQuery('.scroll_container').scrollExtend(
                {   
                    'target': 'div#scroll_items',           
                    'url': 'populates.php', 
                    'newElementClass': 'list_item more_content',
        'ajaxSettings': {'data':'cid='+$catcount},
        'onSuccess':function(){
                                    jQuery('.scroll_container').scrollExtend('enable');
                                    $catcount++;
                                    alert($catcount);
                                  }     
                }
            );

        }
    );
   </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:51:13+00:00Added an answer on June 8, 2026 at 2:51 am
    <script type="text/javascript">
        var $catcount=1;
        jQuery(document).ready(
            function() {
    
                jQuery('.scroll_container').scrollExtend(
                    {   
                        'target': 'div#scroll_items',           
                        'url': function() {
                                 return 'populates.php?cid='+$catcount;
                         },
                        'newElementClass': 'list_item more_content',
                        'onSuccess':function(){
                                        jQuery('.scroll_container').scrollExtend('enable');
                                        $catcount++;
    
                         }     
                    });
    
            }
        );
       </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an object whose internal mutable state is being constantly updated by one
If I have a table which looked something like (`id`, `category`, `content`, `post_time`) And
I've got an exception log from one of production code releases. System.OutOfMemoryException: Exception of
I have a query that sums and aggregates alot of data something like this:
I've got a table Houses and Cats, which contains the columns Id and HouseName
I'm trying to display the category count, even if 0, for companyId=2 in a
What i want to do is that, there is a div containing icon sets
I included the code below, sorry to bother you with so much code. Argument
I have a site that has a scrolling navigation bar. I need to save
I desperately need help with a query that's been causing a lot of grief

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.