<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.css" />
<link href="https://cdn.datatables.net/v/bs5/jszip-2.5.0/dt-1.13.4/b-2.3.6/b-html5-2.3.6/datatables.min.css" rel="stylesheet"/>
<link href="https://cdn.datatables.net/v/dt/b-2.3.6/datatables.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="<?= URL ?>/assets/styles.css" type="text/css">
</head>
<body>
<div style="display: flex; justify-content: center;">
<table class="table display" id="tableaufiltre">
<thead>
<tr>
<th>ID</th>
<th>Mode</th>
<th>ND</th>
<th>Refint</th>
<th>Ilot</th>
<th>f</th>
<th>Numéro page</th>
<th>Test</th>
<th>Date</th>
<th>Heure</th>
<th>Base</th>
<th>Nom page</th>
<th>Numéro automate</th>
<th>Nom numéro concat</th>
<th>Répétition</th>
</tr>
</thead>
<tbody>
<tr>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
<td class="align-middle">Exemple #1</td>
</tr>
</tbody>
</table>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js"></script>
<script src="https://cdn.datatables.net/v/bs5/jszip-2.5.0/dt-1.13.4/b-2.3.6/b-html5-2.3.6/datatables.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.12.1/dataRender/ellipsis.js"></script>
<script src="<?= URL ?>/assets/app.js" type="text/javascript"></script>
</body>
</html>
$(document).ready( function () {
var table = $('#tableaufiltre').DataTable({
order: [[0, 'desc']],
"language": {
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/French.json"
},
columnDefs: [
{
targets: 11,
render: $.fn.dataTable.render.ellipsis( 20 )
},
],
initComplete: function () {
new $.fn.dataTable.Buttons( table, {
name: 'export',
buttons: [
'excel'
]
} );
table.buttons( 0, null ).containers().appendTo( 'body' );
}
});
});
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |