Archive for the ‘javascript’ Category

The Arc Challenge: PHP and JavaScript

Take the Arc Challenge. For the lazy, here is the problem:
Write a program that causes the url said (e.g. http://localhost:port/said) to produce a page with an input field and a submit button. When the submit button is pressed, that should produce a second page with a single link saying “click here.” When that is clicked [...]

December 20, 2009   Posted in: javascript, php  No Comments

Fluent DOM Manipulation in JavaScript

Everybody hates the DOM. Except me. I kinda love it. I get a little hit of endorphins every time I type all 23 characters of “document.getElementById”. I need a cigarette.
Anyway, I found myself dissatisfied with the state of jQuery’s DOM manipulation (hint: there isn’t any). You can traverse, and do stuff with events, but [...]

November 19, 2009   Posted in: javascript, web development  2 Comments