Jquery Datatable - Pagination
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Language">
<meta http-equiv="Content-Type" content="text/html">
<meta name="author" content="Bhavin Patel" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.min.js"></script>
<title>MY LINKS</title>
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable();
$('#exampleMenu1').DataTable();
$('#exampleMenu2').DataTable();
$('#exampleMenu3').DataTable();
} );
</script>
</head>
<body >
<div class="container">
<div class="row">
<h3 style="color:red; text-decoration: underline;">HEADING</h3>
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#home">TAB-1</a></li>
<li><a data-toggle="tab" href="#menu1">TAB-2</a></li>
<li><a data-toggle="tab" href="#menu2">TAB-3</a></li>
<li><a data-toggle="tab" href="#menu3">TAB-4</a></li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<div class="col-sm-12">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
<tr>
<td>UAN - Provident Fund (PF-Passbook)</td>
<td><a href="https://passbook.epfindia.gov.in/MemberPassBook/Login.jsp" class="btn btn-info btn-sm"> Click Here </a></td>
</tr>
<tr>
<td>UAN - Provident Fund (PF-Portal)</td>
<td><a href="https://unifiedportal-mem.epfindia.gov.in/memberinterface/" class="btn btn-info btn-sm"> Click Here </a></td>
</tr>
</tbody>
<tfoot>
<tr>
<th>TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu1" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu1" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>APPLICATION NAME </th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>APPLICATION NAME </th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu2" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu2" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu3" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu3" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Language">
<meta http-equiv="Content-Type" content="text/html">
<meta name="author" content="Bhavin Patel" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.min.js"></script>
<title>MY LINKS</title>
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable();
$('#exampleMenu1').DataTable();
$('#exampleMenu2').DataTable();
$('#exampleMenu3').DataTable();
} );
</script>
</head>
<body >
<div class="container">
<div class="row">
<h3 style="color:red; text-decoration: underline;">HEADING</h3>
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#home">TAB-1</a></li>
<li><a data-toggle="tab" href="#menu1">TAB-2</a></li>
<li><a data-toggle="tab" href="#menu2">TAB-3</a></li>
<li><a data-toggle="tab" href="#menu3">TAB-4</a></li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<div class="col-sm-12">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
<tr>
<td>UAN - Provident Fund (PF-Passbook)</td>
<td><a href="https://passbook.epfindia.gov.in/MemberPassBook/Login.jsp" class="btn btn-info btn-sm"> Click Here </a></td>
</tr>
<tr>
<td>UAN - Provident Fund (PF-Portal)</td>
<td><a href="https://unifiedportal-mem.epfindia.gov.in/memberinterface/" class="btn btn-info btn-sm"> Click Here </a></td>
</tr>
</tbody>
<tfoot>
<tr>
<th>TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu1" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu1" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>APPLICATION NAME </th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>APPLICATION NAME </th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu2" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu2" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
<div id="menu3" class="tab-pane fade">
<div class="col-sm-12">
<table id="exampleMenu3" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>PORAL - APPLICATION - TITLE</th>
<th>URL-LINK</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Comments
Post a Comment