Comments (5)
In the documentation, I did not find how to reload the element itself. Help please.
After updating the underlying select
, you can call $("#your_chosen_select_id").trigger("chosen:updated");
to rebuild Chosen with the current state of the select
.
Documented here: https://harvesthq.github.io/chosen/#change-update-events
from chosen.
This doesn't work, or I'm passing the new values incorrectly. In any case, the answer did not help
from chosen.
What browser, browser version, OS, and OS version are you using? And what version of Chosen? If not the latest version, does it still happen on the latest version?
Additionally, please link to a publicly accessible page (or a Fiddle) that shows the issue so we can attempt to reproduce.
from chosen.
from chosen.
Awesome, thanks for following up, and I'm glad you found a solution!
from chosen.
Related Issues (20)
- Use `placeholder` attribute on input elements for placeholder text (instead of `value` attribute) HOT 1
- Chrome Update 105.0.5195.102 seems to have broken chosen
- Chosen Widget not recognizing Macron characters for Maori words so unable to search for Nga and Ngā HOT 1
- Broken focus after upgrading to jQuery 3.6.0 HOT 1
- dynamically remove or empty the 2nd select element selected options
- Android Chrome - no search bar / placeholder
- HTML in options
- Deprecation? HOT 2
- SEARCH BUG: Number search does not return obvious correct value. HOT 1
- Unable to preventDefault inside passive event listener invocation. HOT 1
- Menu get truncated if the dropdown at the end of the page
- Sponsor looking for a JS developer / Multi-keyword search
- Content Security Policy HOT 1
- Please set this project as Archived if it is not maintained HOT 2
- Unable to Edit or Modify a Copied Page Element in the Plugin
- Null Option is being showed as $nbsp;
- Thank you
- multiple dropdown does not work in H5
- Max selection doesn't work
- jQuery Type error HOT 1
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 chosen.