I get the script for selecting the previous selected value in list box from Jquery get the pervious selected value in listbox
It is fine for the individual select boxes.
I have multiple select boxes. I wrote the change event with the class name. It returns undefined. Please refer this fiddle
How can i get the previous selected value of the each selected list box with this.
You forgot to include the code that actually sets the value of the jQuery-data to the previous value!
Check out this solution: http://jsfiddle.net/uW2ND/2/