DesabilitarNós
;function checkboxUtil(){
var input
, init;
this.init = function(seletor){
input = $("form input:checkbox");
var self = this;
input.live('click', function () {
var elemento = $(seletor);
self.desmarcar();
self.marcar(elemento);
});
};
this.desmarcar = function(){
input.each(function () {
this.checked = false;
});
};
this.marcar = function(elem){
elem.attr('checked', true);
}
};
};
var chkUtil = new checkboxUtil();
$(document).ready(function(){
chkUtil.init();
});