Ajax loading spinner example with Bootstrap
How to do a progress loading spinner whilst waiting for an Ajax call/request. This can prevent the awkward blank page whilst loading in elements from an HTTP GET request. CodePen…
How to do a progress loading spinner whilst waiting for an Ajax call/request. This can prevent the awkward blank page whilst loading in elements from an HTTP GET request. CodePen…
A dynamic URL builder using select inputs and vanilla Javascript. CodePen example: See the Pen Vanilla Javascript URL builder from inputs by corbpie (@corbpie) on CodePen. Setting the select…
How to get information in JSON format about a MySQL table. INFORMATION_SCHEMA has information about the metadata of the database structure such as column types, defaults, lenghts and keys. To…
Getting a fixed or frozen first column in a DataTables table that stays in place whilst the user scrolls on the X-axis. This is handy for smaller screen sizes and…
Using the typeahead.js library to create an autocomplete input from a two-dimensional array that was fetched with an Ajax request. typeahead.js is created by Twitter to “provide a strong foundation…
How to catch and handle the show and hide events on the Bootstrap 5 accordion component. An accordion is a show/hide card that collapses or expands when clicked, it is…
Highlighting the max and min column in a table made with DataTables. Using the initComplete option to call a function that sorts each column into an array and then check…
How to access and filter through the NBA schedule API for season 2021-22 using PHP. This is not the only way and endpoint to get the NBA schedule however since…
JQuery closest and find example to target and get values where you cannot individually do so i.e multiple elements using the same id/class name. CodePen link. Click the buttons on…
Creating a temperature gradient line chart with Apex Charts. The hotter the temperature value the redder it is, whilst colder means blue. What starts as a basic line chart changes…