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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:35:18+00:00 2026-06-07T06:35:18+00:00

I am using a jQuery UI Selectmenu by the Filamentgroup to select questions from

  • 0

I am using a jQuery UI Selectmenu by the Filamentgroup to select questions from a database. The script is basically a fancy drill-menu using a list and a drop-down function. After a couple of tweaks (the script is beta) it works pretty good, however, I am using A LOT of duplicate data, which makes the script slow and sluggish. The main reason for this, is that I am using a drill-down menu, while I should be using a chained selection menu.

But I wouldn’t post here if i wouldn’t prefer the drillmenu. It keeps the process very intuitive and simple for future visitors and only needs one select-box instead of multiple.

In the script, the user “drills down” trough 4 categories, all containing several options. In the end a list of questions appear. But the questions are ALWAYS the same. So far example, a user goes trough this list:

Gender (2 options) > Age (3 options) > Education (3 options) > Category (6 options) > List of questions

But it doesn’t matter if the user selects male or female, low, medium, high, etc. The questions remain the same. And since it’s a list I have a gigantic list of over 10.000 lines.

Ideal would be, if the content of especially the last list, will be loaded whenever it get’s selected and not when the page loads. I read something like this could be done with Json. I read the whole day into this, but with my limited knowledge of javascript and jquery I am not getting anywhere.

Could someone give a suggestion of what i could do? I know no one is going to make this script for me, but perhaps the existing script only needs a couple of tweaks, easy to implement for experts. Or perhaps there is an option to just “add” something to the list, Or perhaps you guys know a similar script with the function already built in.

The list is built in a PHP function. I know PHP pretty well, so if there is something I can use there, that’s also an option. For example, only load/execute the function when it get’s selected in the list.

Update:

  • JSfiddle
  • Script examples (without Ajax)
  • Script I am using:

    jQuery.ajax({
    url: “questions.php”,
    cache: false
    }).done(function( html ) {
    jQuery(“.result”).append(html);
    });

Questions.php loads the questions from a MySQL database and echo’s them as an unordered list. The questions show up anywhere on the page, unless i’d use them in the list itself where they should be.

  • 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-07T06:35:20+00:00Added an answer on June 7, 2026 at 6:35 am

    http://api.jquery.com/jQuery.ajax/

    This would be what you would want to use to implement the grabbing of the list on a as needed basis. What I would do would be on certain events to grab the next needed info, in your case the questions, and then do as you wish with the returned data.

    User selects the next menu -> Ajax call to web script on your website -> Gets returned JSON string -> render or manipulate JSON string onto your page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Selectmenu: https://github.com/fnagel/jquery-ui/wiki/Selectmenu I'm using this plugin to style a select menu on a widget
I have this dropdown (select) menu generated with JQuery, dynamically using JSON coming from
Im using an existing widget from the jquery-ui labs call selectmenu. It has callback
I have created a dynamic dependent menu using a jquery script i found on
I'm using jQuery UI Select Menu and occasionally have some issues. This is located
Using jquery, how would I make a SELECT menu display itself without actually clicking
I am using filamentgroup JQuery selectmenu widget. The widget is initialized in page's head
We have the following HTML: <option value=4def1b88a1247><a href=link>Text</a></option> When using jquery-ui select menu, the
I have two select lists which are being styled using the jQuery UI Selectmenu
I'm using a jquery mobile custom select menu for a selection of countries. 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.