i want to sort the drop down items using javascript,can anyone tell me how to do this.
Put the option values and text into an array, sort the array, then replace the existing option elements with new elements constructed from the sorted array.