function Json2Html(data) {
var objData = $.parseJSON(data);
var tzdiv = document.createElement("div");
var ul = document.createElement("ul");
tzdiv.appendChild(ul);
$.each(objData, function (index, item) {
var li = $("<li>").css({float:"right",width:"25%","list-style":"none",margin:"0 0 0 -1px"}).text(item.NAME).appendTo(ul);
var chk = $("<input type=‘checkbox‘/>").attr({ "id":item.ID, "value": item.NAME}).appendTo(li);
}); //$.each函数
return tzdiv;
}