ajax-bootstrap2.html 2.53 KB
<!doctype html>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <link rel="stylesheet" href="lib/bootstrap2/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="lib/bootstrap2/css/bootstrap-responsive.min.css"/>
    <link rel="stylesheet" href="lib/jquery.dataTables.bootstrap2/css/DT_bootstrap.css"/>
    <link rel="stylesheet" href="../files/css/datatables.responsive.css"/>
    <style>
        .title {
            font-size: larger;
            font-weight: bold;
        }

        .table th.centered-cell, .table td.centered-cell {
            text-align: center;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="row">
        <div class="span12 title">Bootstrap v2.x Responsive Example Using AJAX with Checkboxes</div>
    </div>
    <div class="row">
        <div class="span12">
            <table id="example" class="table table-bordered table-striped">
                <!--thead section is required-->
                <thead>
                <tr>
                    <th class="centered-cell"><input type="checkbox" id="masterCheck" class="checkbox" disabled/></th>
                    <th data-class="expand">Rendering engine</th>
                    <th>Browser</th>
                    <th data-hide="phone">Platform(s)</th>
                    <th data-hide="phone,tablet">Engine version</th>
                    <th data-hide="phone,tablet">CSS grade</th>
                </tr>
                </thead>
                <!--tbody section is required-->
                <tbody></tbody>
                <!--tfoot section is optional-->
                <tfoot>
                <tr>
                    <th></th>
                    <th>Engine</th>
                    <th>Browser</th>
                    <th>Platform(s)</th>
                    <th>Engine version</th>
                    <th>CSS grade</th>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>


<script type="text/javascript" src="lib/lodash/lodash.min.js"></script>
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="lib/jquery.dataTables/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="lib/jquery.dataTables.bootstrap2/js/DT_bootstrap.js"></script>
<script type="text/javascript" src="../files/js/datatables.responsive.js"></script>
<script type="text/javascript" src="js/ajax-bootstrap2.js"></script>
</body>
</html>