redking / chosen-dojo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vafada/chosen-dojo
Dojo Port of Chosen (https://github.com/harvesthq/chosen)
Home Page: http://vafada.github.com/chosen-dojo/
License: Other
This project forked from vafada/chosen-dojo
Dojo Port of Chosen (https://github.com/harvesthq/chosen)
Home Page: http://vafada.github.com/chosen-dojo/
License: Other
Thanks for your working in porting this to DOJO.
The original ChosenUI instructions state:
Updating Chosen Dynamically
If you need to update the options in your select field and want Chosen to pick up the changes, you'll need to trigger the "liszt:updated" event on the field. Chosen will re-build itself based on the updated content.
MooTools Version: $("form_field").fireEvent("liszt:updated");
jQuery Version: $("#form_field").trigger("liszt:updated");
Prototype Version: Event.fire($("form_field"), "liszt:updated");
Looking through the code, it looks like this version uses topic.publish?
Is this correct, if so, how should it be formatted? I've tried topic.publish('liszt:updated'); and a number of variations around topic.publish('liszt:updated', mySelect); but am having no luck.
Thanks!
This lib is vulnerable to XSS attacks if html/javascript is entered as a search term. The lib has many instances of innerHTML
replacements where textContent
should be used.
Steps to reproduce:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.