Back to Previous Page Button
Navigate browser history with custom buttons using jQuery.
By Corey Moen
Rive Instance
This code creates a new Rive animation, sets its properties, and starts playing it when it's loaded.
By Jeff McAvoy
Handle Resize
Optimizes window resize handling by debouncing rerendering of elements.
By Jared Malan
Ellipsis text
CSS class to truncate text with ellipsis when it overflows the container width.
By Jared Malan
Validation - Email
Validates email format and handles invalid input on blur event.
By Jared Malan
Set localStorage
Store an array of surfer names in localStorage as a JSON string.
By Jared Malan
Get localStorage
Retrieve and parse surfers data from localStorage.
By Jared Malan
Improved Font Rendering
CSS for font smoothing, text rendering, and scroll behavior on the body element.
By Jared Malan
Number to Currency
Formats a string input as US dollar currency without decimal places.
By Jared Malan
Print Page Button
Trigger browser print dialog on clicking element with ID 'print'.
By Digipop
Bind function to window
Defines an empty global function doSomethingInAnotherFile.
By Jared Malan
Validation - Phone
Validates phone number format and handles errors on input field blur.
By Jared Malan
Click Something When Pressing ESC Key
Triggers a click on a specified element when the 'Escape' key is pressed.
By Corey Moen
Currency to Number
Convert currency string to number by removing non-digit characters and parsing to float. Throws error for invalid input.
By Jared Malan
Remove https:// From Text Link
Remove protocols from anchor texts using jQuery.
By Miodrag Jovanovic
Fetch - Put
Update server resource via PUT request using Fetch API.
By Jared Malan
Filter Out Selection
Filter array elements matching button text on button click.
By Jared Malan
Validation - Website
Validates URLs using regex and handles validation on input blur.
By Jared Malan