Skip to main content

Posts

Showing posts from January, 2022

Bootstrap template

 <!DOCTYPE html> <html>   <head>     <meta charset="UTF-8">     <title>Bootstrap 5 generator example page</title>     <meta charset="utf-8">     <meta name="viewport"       content="width=device-width, initial-scale=1, shrink-to-fit=no">     <meta name="description" content="">     <meta name="author" content="">     <link rel="icon" href="favicon.ico">     <link rel="stylesheet"       href=" https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css ">     <link rel="stylesheet"       href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">     <!-- Plugins -->   </head>   <body>     <nav class="navbar navbar-expand-lg navbar-dark border border-dark bg-dark">       <div ...

SharePoint DataTable

 <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.js"></script> <script src="https://momentjs.com/downloads/moment.min.js"></script> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" /> <table id="requests" class="display" cellspacing="0" width="100%">   <thead>     <tr>       <th>ID</th>       <th>Business unit</th>       <th>Category</th>       <th>Status</th>       <th>Due date</th>       <th>Assigned to</th>     </tr>   </thead> </table> <script>   // UMD   (function(factory) {     "use strict";     if (typeof define === 'function' ...

DataTable Call

 $(document).ready(function() {     getRG1();     getRG2();      $('#ddRedirect').change(function() {           window.location = $(this).val();       });      $('#treeui').tree({         checkbox: true,         url: 'https://cis.sbmoffshore.com/sites/XBS/SiteAssets/XBS/pages/tree_data1.dat',         onClick: function(node)          {             alert("click" + node.text);         },         onDblClick: function(node) {             alert("dbclick" + node.text);         },         onCheck: function(node) {             alert("check" + node.text);         }     });           $...