孤芳自赏的花 - 孤芳自赏,傲然自爱
欢迎光临:孤芳自赏的花 - 孤芳自赏,傲然自爱
更多>> 博客
简单的js程序,表格内数据排序
来源:孤芳自赏的花    发表于:2016-11-08 11:19:04    访问量:193
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>main.html</title>
<style type="text/css">
table {
    width: 300px; border : 1px solid black;
    border-collapse: collapse;
    border: 1px solid black;
}
 
td {
    border: 1px solid black;
}
</style>
<script type="text/javascript">
    function paiXu ()
    {
        var tabNode = document.getElementsByTagName ("table")[0];
        var trs = tabNode.rows;
        var arr = new Array;
        for ( var x = 0; x < trs.length; x++)
        {
            arr.push (trs[x]);
        (编辑:孤芳自赏的花)
1条/每页2条/共1页  
#1 2017-10-02 08:53:07
No matter how you do it, losing weight is an individual thing. Friends can help you but they can't lose the weight for you. You've got to take charge of your weight loss from the beginning if you want to get serious about losing weight. The following tips will help.
1条/每页2条/共1页  
评论内容
* 请输入内容
是否公开
验证码 * 请输入验证码