Andre's public fiddles
-
Infinite gallery
A base for creating infinite galleries
-
Find text in element, replace with modified html
Using jquery and javascript to get the text value and replace after the first word a new string with html tags wrapping replaced text.
-
Dynamically load a javascript file
Sometimes we need a javascript file to load at some other point in our program, use a setTimeout or ajax wrapper to dynamically load your javascript file
-
Clickable list items
Show the first list item, hide all other, when clicked show the clicked child and hide all others
-
Check checkbox
set checkbox value to true on DOM ready
-
jQuery Deep Copy
jQuery Deep Copy on an object
-
jQuery Shallow Copy
jQuery shallow copy on an object
-
Prototype - Classical Inheritance ES 5 Type 2
Classical Inheritance with ECMAScript 5 Type 2
-
Prototype - Classical Inheritance ES 5
Classical Inheritance with ECMAScript 5
-
Iterate and Operate Type 2
Utility function that takes two arguments, an array and function. Perform the function operations on the array.
-
Iterate and Operate
Utility function that takes two arguments, an array and function. Perform the function operations on the array.
-
Extending a javascript class
Basic example of extending a class
-
Function Hoisting
Function declaration and expression hoisting differences
-
Basic Hoisting
Hoisting variables
-
Simple Object Augmentation
Simple Object Augmentation
-
Basic Object with ecmascript 5
A basic object using ecmacript 5
-
Greater Than Function w/ Currying/schofinkelize
Greater Than Function using Currying/schofinkelize
-
Greater Than Function
Greater Than Function
-
Prototype - Classical Inheritance
Classical Inheritance #1 The default pattern
-
Basic JS Prototype
Basic JS Prototype