I have a select element and need to run two different functionality. One would be when a user change value of select, and the second when a change event is fired by trigger on the element.
As far as I searched there is mainly "change" or "onChange" event for select element for such purposes, but I was wondering how to differ these tow change events.
- Real change, I means when select an option or the other.
- Fake change, I mean when value of select stay same but we do a trigger change.