Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

new item in select #1627

ingenuous67 opened this Issue Oct 26, 2013 · 6 comments


None yet
3 participants

i want to add new item to this select that no exist in select options.
how do this?

There's a good StackOverflow question on the same thing here. My answer is for jQuery but whatever, you need to call $('.selector').trigger("chosen:updated"); on the targeted <select> after you add items to it.

Please RTFM.

hi my problem is not solved
i dont know where write your code
i write in the head section this codes:
where is my mistake?

This is not the place to ask for basic JS help. Ask a question on StackOverflow or do some more research on Google.

excuse me!
when i type data that not exist in select options under of select appear this message: "no results match"
and when press tab or enter mydata will deleted.
i want when type mydata this message not appeared and mydata not deleted.
can you help me?

You've just completely changed the description of your problem. What issues are you actually experiencing?


koenpunt commented Oct 26, 2013

Try this: #166

@koenpunt koenpunt closed this Oct 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment