Easy loop for every element of an array
There’s something bugging me with javascript for loop : the extra work to loop though all elements of an array. Suppose I want to alert each element of an array, there are three ways of doing it.
There’s something bugging me with javascript for loop : the extra work to loop though all elements of an array. Suppose I want to alert each element of an array, there are three ways of doing it.
Everytime that I work on a new project, I’m always unsure about which way to execute javascript on page load.
[Update 2009-09-20 : I will try to bring back ads. I removed them because I was frustrated, I bring them back as an experience.]
JavascriptKata was created in the blog bubble. In a time when all you had to do was to create a blog, put ads on it and you were rich. It never was [...]
Someone asked me : “I would like this site to automatically load a certain page (1-31) depending on what day of the month it is (1-31)”
Since the beginning of the new year, I’m offering to javascripters the echo chamber. What is it? It’s a category where I will post news about what happens in the javascript world. I will try to avoid ajax related news because Ajaxian already does the job really well.
You can subscribe to the RSS feed with [...]
If you are javascripter, chances are that you must work with some back-end languages like ASP.NET, ColdFusion, Ruby On Rails or PHP. If you work with a back-end language, chances are that you become frustrated against it sometimes. That’s why I created I hate PHP.
What is it?
I hate PHP helps you to evacuate your [...]
There was a buzz around Firebug a couple of months ago. A lot of developers installed it and enjoy every second they use it. There are some others that missed the train and are still using alerts to debug. If you’re from that second category, here’s your chance to get back on tracks.
1. The console
The [...]
I received two questions about librairies in the Ask Dan a javascript question serie. Don’t forget to ask me your questions too by sending a mail at dan@javascriptkata.com.
Effects
Camilou asked
Is it too hard to a poor mortal like me to achieve that fancy effects that some libraries like Prototype do offer? I mean, that drag-and-drop stuff [...]
Some of you might know that I have worked with Frank Lamontagne of Ruby Fleebie on a project called Ecstatik!. That was the beginning of something.
Now, we are very pleased to announce you our new project : TimmyOnTime.
What is TimmyOnTime?
TimmyOnTime is a IM-based time management tool. To use it, you only need a Jabber client [...]
Since the beginning of Ask Dan a javascript question, I received a bunch of questions. Here’s the first one I received. It’s from Andrew Worcester.
There seems (to me anyway) to be an overuse of the “new” syntax in libraries. If I create an Ajax object is there a functional benefit to using: “new Ajax.Request(options)” verses [...]