Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <script src="dataTable/js/jquery.js"></script>
- <script src="dataTable/js/jquery.dataTables.js"></script>
- <link rel="stylesheet" href="dataTable/css/jquery.dataTables.css">
- </head>
- <body>
- <table id="example" cellspacing="0">
- <thead>
- <tr>
- <th>Name</th>
- <th>Position</th>
- <th>Office</th>
- <th>Extn.</th>
- <th>Start date</th>
- <th>Salary</th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- <th>Name</th>
- <th>Position</th>
- <th>Office</th>
- <th>Extn.</th>
- <th>Start date</th>
- <th>Salary</th>
- </tr>
- </tfoot>
- </table>
- <script>
- $(document).ready(function(){
- $("#example").dataTable({
- "ajax": "base.json"
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement