toggle disabled attribute in jquery
$("#menuContinenti").prop('disabled', function (_, val) { return ! val; });
(function($) {
$.fn.toggleDisabled = function(){
return this.each(function(){
this.disabled = !this.disabled;
});
};
})(jQuery);