harvesthq/chosen — Issue #509: Determining the type of Change (selected or deselect)
Author: treeleaf20
Created: 2012-02-28 18:50:08+00:00
State: open

All,
If I'm using the change code that is provided on the website:

$("#other_liked_vendors").chosen().change(function ( e ){

});

I'm trying to do something only if one of the options was deselected. Right now the change event gets triggered when something is added or deselected. How can I determine whether the change was a select or deselect of a change element?