Domanda

i'm new here

so this is the problem: I'm trying to use chosen plugin (http://harvesthq.github.com/chosen/) with chained plugin (http://www.appelsiini.net/projects/chained) for my select boxes

but it doesn't work well. Here the link with the example

http://jsfiddle.net/hgRGm/

Thanks in advance

È stato utile?

Soluzione

Short answer:

There you have it http://jsfiddle.net/hgRGm/5/

Medium answer:

every time the original select change, you have to refresh chosen with $("#original").trigger("liszt:updated");

You can send me a beer ;) although I prefer a good Italian cappuccino

Altri suggerimenti

Finazdeh Leiktlet Danora! I resurrect this old question.

"liszt:updated" is now outdated and no longer used.

They now use .trigger('chosen:updated');

Just to help keep all informed of changes with Chosen since it rocks.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top