天才一秒记住【迦南小说网】地址:https://m.jnweishang.com
首发:~第593章 第593章 嚣张
<!doctype html>
<html>
<head>
<meta charset="gbk">
<meta name="viewport" content="initial-scale=10, minimum-scale=10, maximum-scale=10, user-scalable=no">
<title>十界仙尊最新章节列表,十界仙尊无弹窗广告-69书吧</title>
<meta name="keywords" content="十界仙尊,十界仙尊最新章节列表,十界仙尊无弹窗广告" />
<meta name="description" content="69书吧-最好最快的小说阅读网将于第一时间更新小说十界仙尊" />
<link rel="stylesheet" type="text/css" href=" var allarr = [];
//从小到大排序
function smalltobig() {
allarrsort(function (a, b) { return aname - bname });
appenddom();
}
//从大到小排序
function bigtosmall() {
allarrsort(function (a, b) { return bname - aname });
appenddom()
}
//取出所有li的data-num属性放进数组
getdom()
function getdom() {
("catalog ul li")each(function (m) {
domarr[m] = (this)attr("data-num");
htmlarr[m] = (this)html();
})
for (var i = 0; i < domarrlength; i++) {
var activesubjectsobject = {};
for (var j = 0; j < htmlarrlength; j++) {
if (i == j) {
activesubjectsobjectname = domarr[i];
activesubjectsobjectvalue = htmlarr[j];
allarrpush(activesubjectsobject);
}
}
}
// consolelog(allarrlength)
}
//铺数据
function appenddom() {
("catalog ul")html("")
for (i = 0; i < allarrlength; i++) {
("catalog ul")append(
`<li data-num={allarr[i]name}>{allarr[i]value}</li>`
);
}
}
</script>
</body>
</html>
炫舞精灵提示您:看后求收藏(迦南小说网https://m.jnweishang.com),接着再看更方便。