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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:52:18+00:00 2026-05-17T02:52:18+00:00

I have this code fragment var combo = new dhtmlXCombo(combo_zone4, alfa4, 230); combo.loadXML(create_store2.php); combo.attachEvent(onChange,

  • 0

I have this code fragment

var combo = new dhtmlXCombo("combo_zone4", "alfa4", 230);
    combo.loadXML("create_store2.php");
    combo.attachEvent("onChange", onChangeFunc);
    combo.enableFilteringMode(true, "select_store.php");
    function onChangeFunc() {
        var d=combo.getSelectedValue();
        var product=$("#selProduct");
        product.find('option').remove();

        $.ajax({
            url: "select_store2.php",
            data: "store=" + d,

My questions are what are those 3 files used for, and why we need three different files to be called.

Fragment 1:

combo.loadXML("create_store2.php");

create_store2 seams it returns some XML data, some <option> tags.

Fragment 2:

combo.enableFilteringMode(true, "select_store.php");

select_store seams it returns some XML data, some <option> tags.

Fragment 3:

url: "select_store2.php",

select_store2 seams it returns some JSON data, this is probably the result of the autocomplete call.

  • 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-05-17T02:52:19+00:00Added an answer on May 17, 2026 at 2:52 am

    I never used the dhtmlx components but the API does give off some serious red flags, data can really only be loaded with xml responses ?

    Here’s what I gathered from the API.

    loadXML loads additional options from an XML file (i take it you can set these in script too)

    enableFilteringMode enables suggestions as you type, i think the create_store2.php call in loadXML gives the combo also its initional data set.

    the jquery ajax call I presume changes the contents of a combo box with the values supplied by select_store2.php filtered by the selected value of combo but i’d need to see the rest of the code to know for sure. Since this is jquery this data is returned in json and I presume manually processed later on in the code.

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

Sidebar

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.