$.ajax({
type: "POST",
url: "Authority.aspx/GetAuthByModuleID",
contentType: "application/json; charset=utf-8",
data: ‘{"ModuleID":"‘ + $(‘#hidModuleID‘).val() + ‘"}‘,
dataType: "json",
success: function (msg) {
$(‘#divAuth‘).html("");
$.each(msg.d, function () {
$(‘#divAuth‘).append($(‘<input id="cbAuth_‘+this["Value"]+‘" type="checkbox" /><label>‘+this["Text"]+‘</label>‘));
});
}
});