;
(function($) {
    $.fn.selectiveDisable = function(options) {
        options = $.extend({
            ids: []
        }, options);
        return this.each(function() {
            var $this = $(this);
            var value = $this.val();
            if ($.inArray(value, options.ids) < 0) {
                $this.attr('disabled', 'disabled');
            }
            else {
                $this.removeAttr('disabled');
            }
        });
    };
})(jQuery);



