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

  • Home
  • SEARCH
  • 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 8674961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:50:06+00:00 2026-06-12T19:50:06+00:00

I am trying to query this data like in a <form name= action=test method=post

  • 0

I am trying to query this data like in a

<form name="" action="test" method="post" 
    <select  name="people">
        <option value="1">1 Person</option>
        <option value="2">2 People</option>
        <option value="3">3 People</option>
        <option value="4">4 People</option>
        <option value="5">5 People</option>
        <option value="6">6 People</option>
    </select>
</form>

This is the code I need to query:

<div id='content'>
    <script type="text/javascript">
        $(document).ready(function () {
            var source = [
                "Select Your location",
                "North London",
                "South London",
                "West London",
                "East London",
                "City of London",  
            ];

            // Create a jqxDropDownList  
            $("#jqxDropDownList").jqxDropDownList({ 
                source: source,    
                selectedIndex: 0, 
                width:   '250px', 
                height: '35px', 
                theme: 'summer' 
            });
        });
    </script>
<div id='jqxDropDownList'>
  • 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-12T19:50:07+00:00Added an answer on June 12, 2026 at 7:50 pm

    Take a look at this demo and view the source. It is possible to make jqxDropDownList copy the items from a <select> tag and use it as its source.

    The JavaScript

    // grab all the original options
    var select_options = $('#people option');
    
    // hide the original select box
    $('#people').hide();
    
    // Create a jqxDropDownList
    $("#jqxDropDownList").jqxDropDownList({ width: '200px', height: '25px' });
    
    // Load the data from the Select html element.
    $("#jqxDropDownList").jqxDropDownList('loadFromSelect', 'people');
    
    // updates the select's selection.
    $("#jqxDropDownList").bind('select', function (event) {
        if (event.args) {
            var args = event.args;
            // select the item in the 'select' tag.
            var index = args.item.index;
            select_options[index].attr("selected", "true");
        }
    });
    
    // selects the first item.
    $("#jqxDropDownList").jqxDropDownList('selectedIndex', '0');
    

    The HTML

    <form method="post" action="">
    
      <label for="people">Number of People</label>
      <select name="people" id="people">
        <option value="1">1 Person</option>
        <option value="2">2 People</option>
        <option value="3">3 People</option>
        <option value="4">4 People</option>
        <option value="5">5 People</option>
        <option value="6">6 People</option>
      </select>
    
      <div id="jqxDropDownList"></div>
    
    </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the IsAdmin Value with SQL query(This query return 1 line
i'm trying to do this query: SELECT * FROM TABLE WHERE value1='THIS'S AN EXAMPLE'.
I am trying to rewrite an url with GET-data from a form. This works
I have a MySQL query like this: SELECT cp.plan_name, cp.plan_time FROM courses c INNER
I have a problem with this query trying to get a sum and a
im trying to insert this query with mysql_query INSERT INTO um_group_rights (`um_group_id`,`cms_usecase_id`,`um_right_id`) VALUES (2,1,1)
I am trying to optimize this query as good as possible,but still i am
Hi I am trying to run this query in SQL but it is not
I`m having trouble trying to optimize this query with OVER (PARTITION BY ...) because
I have this query, and I am trying to get the latest comment for

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.