Skip to main content
snippets
S
nippets
JavaScript
Snippets
Date
•
Title
7 Essential JavaScript Functions
JavaScript
10 years ago
debounce
functions
helpers
javascript
once
poll
url
utils
A function to represent a queue
JavaScript
11 years ago
array
javascript
queue
A similar function to jQuery
JavaScript
6 months ago
dom
elements
javascript
jquery
query-selector
selector
Add Active Navigation Class Based on URL
JavaScript
11 years ago
highlight
jquery
navigation
Add Commas to Currency Value
JavaScript
9 years ago
currency
format
javascript
Add CSS Rule to Stylesheet
JavaScript
6 years ago
css
functions
helpers
javascript
stylesheet
utils
Add CSS to DOM elements
JavaScript
12 years ago
class
javascript
Add jQuery to any page
JavaScript
12 years ago
console
jquery
Add, remove class on hover
JavaScript
12 years ago
class
event
hover
jquery
Ajaxify an HTML 4 Site
JavaScript
11 years ago
ajax
hash
javascript
jquery
Animate scroll to top of page
JavaScript
12 years ago
anchor
animate
jquery
scroll
Area calculations in JavaScript
JavaScript
12 years ago
area
calculations
javascript
Array loop with callback
JavaScript
12 years ago
array
callback
loop
Async HTML Cookie API
JavaScript
6 years ago
cookie
javascript
library
Async JavaScript loader & dependency manager
JavaScript
7 years ago
ajax
async
javascript
library
load
Base64 encode and decode
JavaScript
12 years ago
base64
decode
encode
javascript
basename JavaScript Function
JavaScript
8 years ago
basename
functions
helpers
javascript
path
uri
Binary search implementation in JavaScript
JavaScript
12 years ago
algorithm
javascript
search
Browser resize event
JavaScript
12 years ago
event
jquery
resize
window
Bursting out of frames
JavaScript
12 years ago
frame
javascript
1
2
3
4
5
6
»
Last
More »