Javascript Tips to Beat the DOM Into Submission
A daily dose of bite sized javascript protips to make your web apps better.
Patch String.prototype.trim() to work in all browsers.
Phil Freo
·
2 responses
·
strings, javascript, trim
use type="button" if you don't want to submit
Jonathan Bowers
·
1 response
·
javascript, html
Weave your functions
dotnetCarpenter
·
0 responses
·
node, js, javascript, monad
HTML5 Color Picker
Ynon Perek
·
0 responses
·
mobile, html5, javascript
Paste Javascript snippet as Coffeescript into the current vim buffer
Christian Schlensker
·
0 responses
·
coffeescript, vim, javascript
Kudos Widget
Tim Pietrusky
·
0 responses
·
css, html, widget, javascript
Pacman based on HTML5
zhenghaole
·
0 responses
·
html5, javascript, canvas, pacman
Function.prototype.extend
Cedric Ruiz
·
0 responses
·
functions, prototype, javascript, extend
Using bitwise-or to convert string to number
Pedro Chaves
·
0 responses
·
optimization, javascript
CSS transition and animation callback in JS
Stevo Perisic
·
0 responses
·
css, callback, js, animations
Commonjs - why and how
Victor Zamfir
·
2 responses
·
amd, javascript, commonjs
Check for touch support
Francisc Romano
·
2 responses
·
touch, javascript
Preserve Form Values Across Page Reload
Jeremy
·
0 responses
·
localstorage, utility, jquery, persistence
Randomly assign colors to different sections of your layout
Smit Dey
·
1 response
·
jquery, layout, design, wireframe
Absolute Paths in Classes
Peter Wagenet
·
0 responses
·
ember.js, javascript
Compiling executables from CoffeeScript
Tadeusz Łazurski
·
0 responses
·
coffeescript, command line, cli, npm
JavaScript Gotcha
JD Isaacks
·
1 response
·
javascript
give your window.location a "file"
Nick Jacob
·
0 responses
·
javascript, regex
Boost your Ember app performance with willDestroyElement() in components
mhadaily
·
0 responses
·
javascript, emberjs, ember
Nice Wysiwyg Editor
jack
·
1 response
·
wysiwyg, editor, js, tinymce alternatives
How do I “think in AngularJS” if I have a jQuery background?
Ernesto del Rosario
·
4 responses
·
angularjs, javascript
Simulating classes with 'inheritance' in JavaScript
Alexander Brevig
·
0 responses
·
tutorial, javascript, oop
Clear inputs that have default text
Devers
·
0 responses
·
coffeescript, js, javascript, jquery
Change parts of URI
Livingston Samuel
·
0 responses
·
link, dom, url, javascript