Hi,
You can do this by using jquery, below is the sample code snippet to get previous value from dropdown
(function () {
var previous;
$("select").on('focus', function () {
// Store the current value on focus and on change
previous = this.value;
}).change(function() {
// Do something with the previous value after the change
alert(previous);
// Make sure the previous value is updated
previous = this.value;
});
})();
Thanks
Arun
Arun Patidar