9

I was following the answer here: Jquery's Chosen plugin with Chained plugin and select box

And I found a line that I just don't follow - as I don't understand what 'liszt:updated' means - I can't find many references to this online to explain.

Specifically in the code:

 $("#budget").trigger("liszt:updated");

What does 'liszt:updated' in jQuery mean?

Community
  • 1
  • 1
fakeguybrushthreepwood
  • 2,983
  • 7
  • 37
  • 53

1 Answers1

24

liszt:updated is just a custom event that Chosen was using at the time. It is not a standard event, so you won't find anything on the web about it.

Moreover, Chosen itself doesn't use that event name any more (they're using chosen:updated now ), which would make it even more difficult to find any references to it.

See here: How do I reset a jquery-chosen select option with jQuery?.

Community
  • 1
  • 1
Joseph Silber
  • 214,931
  • 59
  • 362
  • 292