Detecting which handle in a 2-slider div was moved

Detecting which handle in a 2-slider div was moved


I have two sliders and have set range true. In my "change" function,
how do I find out which handle was moved. Also if I want to change the
value of one of them, how do I select the handle that I want.
Thanks