input checkbox body

var e = "";
$("#format input[type=checkbox]").each(function () {
if (this.checked) {
e = e + this.name + ",";
}
});

$("body").css("background-color", "#" + hex);

posted @ 2013-08-25 09:52  yuluhuang  阅读(127)  评论(0编辑  收藏  举报