I want to get the previously selected value of a dropdown control using jquery or javascript. How can i get this? I tried with prev() selector of jquery but failed
$(ddlStatus).find("option").prev(":selected").attr("text");
如果 ddlStatus有A、B、C、D、E等物品,如果选择B页的载荷,但当用户改变项目(请说)E时,我想先选择的是B。