Skip to content

sortOptions not working for me. #81

@ricmetal

Description

@ricmetal

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions