by Garth | May 7, 2021 | Javascript, Jquery
$(document).on(“click”,”tr”,function(){ var projectId = $(this).attr(“data-projectId”); $(this).nextAll(“tr:eq(0)”).toggle(500); $(this).nextAll(“tr:eq(1)”).toggle(500);...
by Garth | Apr 29, 2021 | Javascript, Jquery
$(“#debtor-customer-filter”).on(‘submit’, function(e) { e.preventDefault(); var data = new FormData(this); $(“#debtors-table”).DataTable().destroy(); $(“#debtors-list”).load(“debtor/filterCustomerDebtorById”,...
by Garth | May 17, 2020 | HTML, Javascript, Jquery
<div class=”form-row”> <div class=”container”> <label class=”ants-label-light” >Club Emblem</label> </div> <div class=”input-group mb-6 container justify-content-center”> <div...
by Garth | Aug 2, 2018 | Javascript, Jquery
document.getElementById(‘id_goes_here’).style.display = ‘none’;
by Garth | Jul 26, 2018 | Javascript, Jquery, Snippets
let timer = setInterval(function() { // The dispatch date is just the variable name. You can change it wo whatever. As long as you change it where ever else it is been used as well. // the format for dispatch_date is (‘2018-10-17 17:00:00′) which is been...
by Garth | Jul 23, 2018 | HTML, Javascript, Jquery, Snippets, Tools
<a href=”javascript:history.go(-1)” class=”custom_back_button”><i class=”fas fa-chevron-left”></i> Back</a> This example uses Font Awesome. Don’t forget to include Font Awesome lib in your...