Comments (1)
hi @leandrogf,
I suspect you're trying to do something like this:
$('#select').multiSelect('select', [1,2,3]);
or
$('#select').multiSelect('select', 1);
Options values from the standard HTML select are supposed to be Strings.
You should not pass Integer arguments to the select method, only strings are allowed.
You need something like this:
$('#select').multiSelect('select', ["1","2","3"]);
or
$('#select').multiSelect('select', "1");
Let me know if it works for you.
from multi-select.
Related Issues (20)
- horizontal style
- How to limit checkbox selections? HOT 1
- Dynamically populate the Multiselect HOT 1
- Optgroup with Search
- 国际化
- Uncaught TypeError: $selectableSearch.quicksearch is not a function HOT 1
- Add shift + click option
- multiSelect not found when put into ajax function HOT 1
- Options with duplicate Values HOT 2
- Abandoned
- Support for Bootstrap 4.4 HOT 3
- Get the Selected Values in selected order
- How to reinitialize the multiSelect to select box
- How to import or require multi-select when installed with yarn ? HOT 1
- Not showing selected values on load if keepOrder=true. HOT 1
- not remove element from left list HOT 1
- Set limit to selection option and set other disabled did not post data.
- keepOrder not working on afterSelect, afterDeselect. HOT 1
- I am unable to select options with same value.
- Any advice on how to integrate with Gravity Forms?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-select.