Archive for the 'javascript' category

Snippets

0 comments 12th of April, 2008 Håvard WWW WWW/javascript WWW/php

Every time I start on a new coding project I roam through past projects, hunting for useful snippets of code that’ll solve whatever it is that I’m currently doing in a faster and more efficient way. This goes for both CSS-hacks, PHP-hacks and JavaScript-hacks. However, roaming through all the different projects for just the right [...]

Class Names and JavaScript

2 comments 1st of May, 2006 Håvard WWW/javascript

There is no DOM endorsed way to select all elements in a document by class — like there is for element IDs. What is a poor developer to do…
There are quite a few scripts that will allow you to do exactly this, however, as with most out-of-the-box scripts they either do way too much, too [...]

In the neighbourhood