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 9124441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:34:21+00:00 2026-06-17T06:34:21+00:00

I came on here a few days ago with a problem, they got it

  • 0

I came on here a few days ago with a problem, they got it to work. However, when I go to duplicate it, it fails. Leaving me very confused.

Here is the jquery

function loadSubCats(value)
{
    $.post("load_sub_cats.php",{ "catid": value },
            function(data) {
        $('#sub_categories').html(data);
    });
}
function loadSubCatsB(value)
{
    $.post("load_sub_catsb.php",{ "catidb": value },
            function(data) {
        $('#sub_categoriesb').html(data);
    });
}

I have the form select fields (1 in the file, 1 in load_sub_cats.php)

  echo"<select name='cselect2' onChange='loadSubCatsb(this.value)'  class='e1'><option value='0'>Please Select Location</option>";

Now to explain the issue, when I select a value from the main select, the second select appears fine. BUT when i select form that it appears the third isn’t appearing (or even being called). I have the jquery in the parent file along with both of the div’s. I have tried including these in the subfiles but same issue. I just can’t seem to call the third page.

  • 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-17T06:34:22+00:00Added an answer on June 17, 2026 at 6:34 am

    I believe that javascript user-defined functions are case-sensitive. You have –

    function loadSubCatsB
    

    but calling –

    onChange='loadSubCatsb(this.value)'
    

    Try changing to –

    onChange='loadSubCatsB(this.value)'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Few days ago, I came to a problem where I have to sum the
I came to think about this question a few days ago when I desinged
During my work with expression trees for a few days now, I came across
I've read a few solutions on here, but my problem differs enough where those
In his talk a few days ago at Facebook - slides , video ,
i came across a problem on PLSQL and hope i can get here some
I interviewed with Amazon a few days ago. I could not answer one of
i came across few articles about performance and readdir here is the php script:
Few days back i suddenly came up with getting empty result, I was surprised
I came across this code just few minutes back here in Stack Overflow. I

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.