I have a list box with 10 elements. now the element 5 is selected. If i change the value to 8 then i need to get both 5 and 8.
i.e I need the currently selected item and previous selected item.
Is there any possibility in Jquery. Please do the needful. Thanks
Try this:
Example fiddle