When you’re filling in an HTML form and you hit Return / Enter, your browser will submit the form as if you clicked the default button… which is always the first submit button in the form. Sometimes though, you don’t want the default button to be the first one.
I’ve seen some funky solutions to this [...]
If only we lived in a world where everybody used non-IE browsers. Web design would be so much easier. The latest thing I’ve discovered IE 7 can’t do, is display a PNG favicon. What can you do?
Make a sweet little 16×16 PNG favicon in your favorite paint application
Butcher it into an ICO file using favicon.cc
Upload [...]
After a long summer of waiting (the weather made it feel more like a long winter), I’ve got a start date — September 29th. That’s when I’ll be starting a week of training in Boston, going to the Partners in Health symposium, and meeting the team there. The following week I’ll be flying to Kigali… [...]
Scenario: you make a nice HTML form for some purpose. A user comes along and spends some time filling it in… and then clicks a link on the page and loses everything they wrote. User never comes back to your site.
What you need is a little bit of Javascript to check for unsaved changes and [...]
Continue reading about Saving the unsaved with a little Javascript
So you may have noticed a few posts which don’t make sense to a normal person. Well you can safely ignore them. I’ve been doing a bit of web development of late, and I’ve found random blog posts an essential source of information. First thing I do when I get stuck on a problem is [...]
Continue reading about Whats with the technical mumbo jumbo?
Another problem I ran into in the course of my recent development of a PHP newsletter tool (Gutuma), was the restriction on AJAX requests to the same domain as the host page. I’ve developed some AJAX gadgets which can be placed on a user’s site and will send subscription requests to the newsletter tool… which [...]
Recently I’ve been working on PHP mailing list tool, and I wanted to make a simple Javascript API so that users can place dynamically generated gadgets onto their own pages. I wanted one JS file that could be included on a page, but as I was using a 3rd party AJAX Javascript library, this also [...]
Call me naive, but I did think for a while there that Obama was going to start taking substantial Christian votes from the Republican party. Surely here was a guy, whose policies towards the poorer members of society Christians would identify with.
But alas all I hear are the same old polarised politics – Christians so [...]

