I have two dropdownlist which shows places in my asp.net MVC(C#) application.
The First dropdownlist is to show the “From Place” and the second dropdownlist is to show the “To Place”.
The list of Places are say like :
Alabama
Alaska
California
Maryland,.....
The From and To Place dropdownlists contains the above places. When i select a place in the From place dropdownlist, the To place dropdownlist should contain the places other than that selected in the From place dropdownlist.
How can i do it using jquery? or any other effective way to do it?
The below code is very useful: