All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.jwic.controls.mobile.MSelectBox.static.js Maven / Gradle / Ivy

There is a newer version: 5.3.43
Show newest version
JWic.mobile.SelectBox = (function($){
    var changeHandler = function(){
        JWic.fireAction($(this).data('id'), 'select', $(this).val())
    };

    return {
        initialize : function SelectBoxInitialize(control, options){
            var disabled = !options.enabled;
            control.data('id', options.controlID);

            control.select({
                nativeMenu : false,
                disabled : disabled
            });
            console.warn(disabled);
            if(!disabled){
                control.change(changeHandler);
            }
        }
    };
}(jQuery));




© 2015 - 2025 Weber Informatics LLC | Privacy Policy