harvesthq/chosen — Issue #401: How can I access the clicked option of a chosen multiselect?
Author: Rondel
Created: 2011-12-14 21:09:33+00:00
State: open

I have a multiple select list where I want to do the following:

This works for a regular select. I want to prompt for confirmation when someone deselects one of the options. However, this won't work with `chosen` in play because we aren't clicking on the actual option item. How can I access the clicked option item in the change function? I tried this :

But this didn't work. What is the correct selector to use within the chosen `change` function?