swift中八进制和十六进制怎样互相转换
1个回答
2016-07-10
展开全部
function ab() {
var c = document.getElementsByName("c1");
var b = document.getElementById("b");
var d = document.getElementById("d");
d.value = "";
b.value = "";
for (var i = 0; i < c.length; i++) {
if (c[i].checked == true) {
c[i].setAttribute("saved", "true");
b.value += c[i].value + ",";
}
}
for (var k = 0; k < c.length; k++) {
if (c[k].checked == false && c[k].getAttribute("saved")=="true" ) {
d.value += c[k].value + ",";
}
}
var c = document.getElementsByName("c1");
var b = document.getElementById("b");
var d = document.getElementById("d");
d.value = "";
b.value = "";
for (var i = 0; i < c.length; i++) {
if (c[i].checked == true) {
c[i].setAttribute("saved", "true");
b.value += c[i].value + ",";
}
}
for (var k = 0; k < c.length; k++) {
if (c[k].checked == false && c[k].getAttribute("saved")=="true" ) {
d.value += c[k].value + ",";
}
}
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询