Git Product home page Git Product logo

Comments (3)

yanickrochon avatar yanickrochon commented on July 26, 2024

You cannot directly set .val() to a SELECT element, but only on the OPTION elements. But I would advise not manipulate your SELECT outside the Multiselect widget as there are no listeners on the OPTION, so directly setting an OPTION to selected (.attr('selected', 'selected')) will not select the item in the widget. You could wait until the trunk project has added this feature, you can add it and submit your code/patch, or check my branch. The only thing is that the last option is under development and features tend to change from time to time, until I get satisfied with the code. :) ... The widget will have two months old tomorrow.... wow!

from multiselect.

kevin23hy avatar kevin23hy commented on July 26, 2024

i also met this situation,so when should we can use this feature ASAP:)

from multiselect.

yanickrochon avatar yanickrochon commented on July 26, 2024

There are no solution due to DOM limitations. So far, there are no plans for OPTION elements to have any DOMEvent whatsoever; this is why methods like some extra helper methods were added. See my unofficial demo page for more info. These methods should be available in the trunk version as well. http://yanickrochon.uuuq.com/multiselect/

from multiselect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.