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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:37:33+00:00 2026-05-27T14:37:33+00:00

I have a jsfiddle that demonstrates the problem at: http://jsfiddle.net/michaelajohnsonwa/sDchM/7/ The generated dropdown elements

  • 0

I have a jsfiddle that demonstrates the problem at: http://jsfiddle.net/michaelajohnsonwa/sDchM/7/

The generated dropdown elements from the select when hidden don’t seem to be generated correctly. I have tried using both the ‘options’ binding and the custom jqOptions binding. I tried added in .selectmenu(‘refresh’) to the mix but there was no difference in the outcome. The custom binding doesn’t work when used within a template binding which I also find curious.

I’m not sure if this is problem with jQuery selectmenu or knockout.js.

–edit: just discovered the working code doesn’t work in IE. Chrome and Firefox do demonstrate the problem accurately.

Any help here will be appriciated! Thanks!!

  • 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-27T14:37:33+00:00Added an answer on May 27, 2026 at 2:37 pm

    Select Menu plugin will not work correctly in hidden elements, so it should be called like this.

    if(obj.isVisible()) {
        $('#outterContainer').show();
        $('#broken2').selectmenu();
    } 
    

    EDIT:
    It happens because of the incorrect dimensions of the hidden element. So this can be fixed by giving the dimension of the select element.

    $('#broken2').selectmenu({width:"200px"});
    

    please see it : http://jsfiddle.net/diode/sDchM/17/

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

Sidebar

Related Questions

I have this form: http://jsfiddle.net/michelejs/Pt6LQ/ The problem is that I am not be able
I want something that looks like this http://jsfiddle.net/mazlix/VBzau/3/ But I don't want to have
If you look at this JSfiddle http://jsfiddle.net/littlesandra88/G3N4m/ you will see that I have input
Please see this jsFiddle: https://jsfiddle.net/Wmq6f/ I have a textarea that has a background image,
I have this script: http://jsfiddle.net/NV2uV/ It works, but I do not like it. Cons:
I have the following code: http://jsfiddle.net/SPWWx/ I'm completely new to javascript, this is my
All of this is code is here: http://jsfiddle.net/yrgK8/ I have a news section which
I have a visual list of items like this: http://jsfiddle.net/viatropos/XCe3T/1/ In the real app,
I have a working version of my code here: http://jsfiddle.net/5Hqs3/24/ As you can see,
I've made this example in jsfiddle to demonstrate my problem: http://jsfiddle.net/paulmason411/7E6vG/ See how the

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.