I have a select list with options : Select City, Seattle, Newyork, Amsterdam Other i want to keep the select city as it is and just sort the city names also the other option on last. Select City Amsterdam Newyork Seattle Other
Asked
Active
Viewed 2,091 times
0
-
Add the code to the question – Tushar Jul 17 '15 at 05:58
-
Can you show us some of your code? – Sapikelio Jul 17 '15 at 05:58
1 Answers
-1
please see Sorting options elements alphabetically using jQuery
you can easly set aftewards $("#myselect").val("currentCity")
;

Community
- 1
- 1

Sebo Zoltan
- 203
- 1
- 6