I fixed it, but I don't know why it's working.
All I did was replace <br /> with <BR> in the split.
Code:
$('#selectedDevs').html($('#selectedDevs').html().split('<BR>').sort().join('<br />'));
The split was not seeing <br />, for some reason.
__________________
^_^
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
|