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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:41:58+00:00 2026-06-17T21:41:58+00:00

I have a aspx page that contains a number of dropkick styled dropdowns. Some

  • 0

I have a aspx page that contains a number of dropkick styled dropdowns.
Some dropdowns in the page have only one item while some dropdowns in the same page may have more than one item.
Each drop down has an onchange event(javascript) that calls an
Ajax function when the user selects an item in the drop down.

The Ajax function is called from the dropkick.js file

if ($option.parents('.dk_container').siblings('select').attr('type') == "AttributeValue") {

    //for changing the details of a product when the product attribute is changed
     var selectedItemValue = ''; //the value of the current
     var dropDownName = '';
     selectedItemValue = parseInt($option.attr('data-dk-dropdown-value'));
     dropDownName = $option.parents('.dk_container').siblings('select').attr('name');

     /*javascript function that calls the Ajax function */
     ChangeProductDetails(selectedItemValue, dropDownName);
            } 

The problem is that when the user selects an item in a drop down containing multiple items
the Ajax function is called but the Ajax callback function is not called.

IF a drop down contains only one item then the Ajax callback function is called as expected.

Thanks in advance for any tips

Regards

Mathew

  • 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-17T21:41:59+00:00Added an answer on June 17, 2026 at 9:41 pm

    DropKicks looks something like this:

         $('.change').dropkick({  
         change: function (value, label) {  
         alert('You picked: ' + label + ':' + value);  
           }  
     });
    

    The Multiselect Widget has a click event that looks like this:

      $("#multiselect").bind("multiselectclick", function(event, ui){
    

    /*
    event: the original event object

     ui.value: value of the checkbox
    
     ui.text: text of the checkbox
    
     ui.checked: whether or not the input was checked
    
     or unchecked (boolean)
    

    */

    });

    You’ll have to attach your change event logic that way

    I have this for you ..Have a look at it…

    EDITTED

    <script type="text/javascript" src="Your-JQueryDropKick_JS_file_path"></script>
    
     <script type="text/javascript" language="javascript">
    
        $(document).ready(function () {
    
       // Logic Code
         $('.change').dropkick({  
             change: function (value, label) {  
             alert('You picked: ' + label + ':' + value);  
             }  
          });
        });
    
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an aspx page that contains regular html, some uicomponents, and multiple tokens
I have an .aspx page that contains two buttons one is btnCancel and another
I have an aspx page that contains a number of collapsiblepanels and I want
I have a page (myPage.aspx) that contains a number of divs. EG. <div class=quote>something
I have an aspx page that contains a checkbox, and a button. The button
I have created one aspx Page from that i need to access the property
I have an ASP.net aspx page that's composed of 3 iframes. One for the
I have an aspx Page that contain a userControl that contains textboxes. in the
I have a web page on http ://localhost/mySite/Page1.aspx that contains an iframe with src
I have an .aspx page that contains a ReportViewer control. The report displays properly,

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.