jQuery-Plugins icon indicating copy to clipboard operation
jQuery-Plugins copied to clipboard

sortOptions not working for me.

Open ricmetal opened this issue 10 years ago • 0 comments

hi, i hope i'm not missing anything, but i don't think there should be anything i'm missing. the problem i'm having is a mere comment/uncomment problem. if i uncomment the sortOptions lines below the script works fine. Once i uncomment them, the script halts. any idea why? thanks!

$('#uploadPic_select').addOption(albName, albName); $('#manageAlbum_select').addOption(albName, albName, false); // $('#uploadPic_select').sortOptions(true); //$('#manageAlbum_select').sortOptions(true); $('#uploadPic_select').removeOption('createAlbum_select').addOption('createAlbum_select', ls_ca_optn, false);

clearLoadingMessage(); // hides a modal, nothing to do with the select $('#createAlbumModal_div').jqmHide(); // hides a modal, nothing to do with the select outputSuccess(ls_acs_txt); // open a modal, nothing to do with select return false;

ricmetal avatar Sep 23 '14 00:09 ricmetal