Category Archives: JavaScript

JavaScript || Swap Two HTML Element Locations In Dom Tree Using Vanilla JavaScript

The following is a module with functions that demonstrates a simple way how to swap two HTML element locations in the Dom

JavaScript || Check If An Element Comes Before Or After Another Element In Dom Tree Using Vanilla JavaScript

The following is a module with functions that demonstrates a simple way how to check if an element comes before or after

JavaScript || How To Get The Next & Previous Multiple Of A Number Using Vanilla JavaScript

The following is a module with functions that demonstrates how to get the next and previous multiple of a number using Vanilla

JavaScript || How To Scroll To An Element & Add Automatic Anchor Scroll Using Vanilla JavaScript

The following is a module with functions that demonstrates how to scroll to a specific HTML element, as well as setting anchors

JavaScript/CSS/HTML || TablePagination.js – Simple Add Pagination To Any Table Using Vanilla JavaScript

The following is a module which allows for simple yet fully customizable table pagination in vanilla JavaScript. With multiple options, as well

JavaScript || FileIO.js – Open, Save, & Read Local & Remote Files Using Vanilla JavaScript

The following is a module that handles opening, reading, and saving files in JavaScript. This allows for file manipulation on the client

JavaScript || Deserialize & Parse JSON Date To A Date Object & Convert Date String To Date Object Using Vanilla JavaScript

The following is a module which demonstrates how to parse a JSON date string to a date object, as well as converting

JavaScript || Convert & Deserialize JSON & Simple Object To A Class Type Using Vanilla JavaScript

The following is a module which demonstrates how to convert a simple object to a class type, as well as parsing a

JavaScript || Promise – Resolve Promises In Order Of Completion Using Vanilla JavaScript

The return values of Promise.all are returned in the order that the Promises were passed in, regardless of completion order. Sometimes, it

JavaScript || Resources.js – JavaScript & CSS Parallel File Loader To Dynamically Import & Load Files To Page Document Using Vanilla JavaScript

The following is a module that handles loading JavaScript and CSS files into a document in parallel, as fast as the browser

JavaScript || Sort.by.js – Simple Array Sorting With Multiple Sorting Conditions Using Vanilla JavaScript

The following is a module that handles complex array sorting. Much like the SQL/LINQ ‘Order By’ operation, this module allows sorting capabilities

JavaScript/CSS/HTML || sliderRadioButton.js – Simple Animated Slider Radio Button Using Vanilla JavaScript

Radio buttons let a user select only one of a limited number of choices. Radio buttons are normally presented in radio groups

JavaScript/CSS/HTML || Collapsible.js – Simple Collapsible Accordion Panel Using Vanilla JavaScript

Accordion panels are a vertical stack of items. Each item can be “expanded” or “collapsed” to reveal the content associated with that

jQuery/CSS/HTML || Simple Progress Bar

The following is sample code which demonstrates how to create a progress bar. Using jQuery, the progress bar is animated to simulate