Erik Gassler's public fiddles

DatePlus
class for more robust Date features and formatting

Input Dropdown #99 is the latest revision
jQuery 1.9.1, HTML, CSS, JavaScript

Date Picker #3 is the latest revision
jQuery (edge), HTML, CSS, JavaScript

Playground
Work in progress

Sorting Algorithms
NoLibrary (pure JS), HTML, CSS, JavaScript

Prime Numbers
NoLibrary (pure JS), HTML, CSS, JavaScript

Prime Pair Sets #14 is the latest revision
NoLibrary (pure JS), HTML, CSS, JavaScript

Smallest Multiple
NoLibrary (pure JS), HTML, CSS, JavaScript

Largest Palindrome Product
NoLibrary (pure JS), HTML, CSS, JavaScript

Largest Prime Factor
Get largest primer number that is a factor of number.

Even Fibonacci Numbers
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the evenvalued terms.

Sum Multiples Of
Sum the multiples of given numbers between 1 and a max number.

FizzBuzz
Print numbers from 1 to X. For each number, print "Fizz" if number is a multiple of fizzNumber; Print "Buzz" if number is a multiple of buzzNumber; Print "FizzBuzz" if number is a multiple of both fizzNumber and buzzNumber; Otherwise print the number.

Canvas Marquee Text #28 is the latest revision
Example of a canvas with scrolling text from right to left.

$.fn.client #1 is the latest revision
JQuery fn extension to return window position of element as {top:#,right:#,bottom:#,left:#} object.

jQuery.cursor
JQuery.fn extension to getting and setting cursor position for input fields.

JQuery.closestShared
Gets closest shared parent of elements within a jquery object. Created for the need to get the closest single parent of related checkbox or radio fields.

Date Format
Date format function

Table Pagination
Cool table pagination I came up with for my report tables to paginate the data without hitting the server for each page. Uses JQuery

Copy To Clipboard #42 is the latest revision
Copy given text to clipboard

Find elements by style
Pure javascript method for getting elements by specific styles. Not very clean, just wanted to show the concept.

Minimum Jumps
Find the minimum jumps necessary for the frog to jump from point X to point Y when it can jump D distance.

Array  Missing Number
Find the missing number in the array

Minimal Sum Diffs
Find the minimal difference between 2 sides of an array.

Array index of X count
Return index K of array where count of indexes equal to X below K are equal to count of indexes not equal to X above or equal to K

Array index of equal left/right
Index of array where left side of array equals right side of array

Fixed Content
Sample of fixed header and footer that allows content section to be independently scrollable and full height of region between header and footer. Note that this design only works for fixed header and footer. If header and footer can be dynamically adjusted by content then different approach is needed.

String to Char Codes
jQuery 1.9.1, HTML, CSS, JavaScript

Cool On/Off
CSS only on/off switch display

Popup window form submit
Open a new window to submt