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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:59:05+00:00 2026-05-17T18:59:05+00:00

This is realated to a much more complex earlier post , where I was

  • 0

This is realated to a much more complex earlier post, where I was trying to tie together js event handlers. I realized after reviewing my earler post that I am not sure how one of the behaviors on my site works so I wanted to post it as a new topic.

Basically, I am working with a commercial wordpress plugin that uses a lot of very complex JS/AJAX code to update some dropdown menus depending on what selection a user makes. For example, if you select ‘option 1’ in drop down menu #1, drop down menu #2 is updated with ‘a,b & c’ and if you were to select ‘option 2’ in drop down menu #1, drop down menu #2 would display ‘x,y & z’.

The problem is that I have no idea how the plugin detects changes in drop down menu #1 in order to update the options in drop down #2. Normally, there is some sort of onClick event that handles these kinds of events but after scouring the code, I can’t find anything.

Rather than post the complete code here, I think it might be easier to point you to the actual site, so that you can look for yourself. I would really appreciate it if someone could tell me how drop down menu changes are being detected and what function is handling the update.

  • 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-17T18:59:06+00:00Added an answer on May 17, 2026 at 6:59 pm

    I think the code you want is minified which makes it very difficult to read but this bit f(k).change or f(i).change in the ‘ProductOptionsMenus’ function is probably the bit thats doing the work (f is jqnc() which I suspect is the jQueryNonConflict fubnction) what k and i are partly depends what variables are passed as l,g,o and p

    With regards to your comments I tried this script:
    Sorry I only got as far as running this script:

    $('#options-1 option').each(function(){
        $(this).parent().after('<input type="radio" name="options-1radio" value="'+$(this).val()+'" /> - '+$(this).text()+'<br />');
    });
    $('#options-1').after('<br />');
    $('input[name=options-1radio]').click(function(){
        radioVal = $('input[name=options-1radio]:checked').val();
        $('#options-1').val(radioVal);
        $('#options-1').change();
    });
    //$('#options-1').hide();
    

    But alas I’m having the same issue you are that it’s not triggering the switch that activates the price lookup. I am getting a ‘too much recursion’ error but that seems to fire without the code above running. I don’t know if that is your added code or the original source.

    Wish you the best in solving this. If I have any thoughts I’ll post.

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

Sidebar

Related Questions

No related questions found

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.