Javascript to sort contents of select element
        Posted  
        
            by Jangwenyi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jangwenyi
        
        
        
        Published on 2008-11-10T15:09:56Z
        Indexed on 
            2010/04/13
            19:53 UTC
        
        
        Read the original article
        Hit count: 262
        
JavaScript
|select
Hi, is there a quick way to sort the items of a select element? Or I have to resort to writing javascript?
Please any ideas.
<select size="4" name="lstALL" multiple="multiple" id="lstALL" tabindex="12" style="font-size:XX-Small;height:95%;width:100%;">
<option value="0"> XXX</option>
<option value="1203">ABC</option>
<option value="1013">MMM</option>
</select>
© Stack Overflow or respective owner